CompiledShader Constructor
Note
This constructor is available only when developing for Windows.
Initializes a new instance of the CompiledShader class.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public CompiledShader (
byte[] compiledShaderCode,
string errors
)
Parameters
- compiledShaderCode
The compiled shader to encapsulate. - errors
String containing at least the first compile error message that occurred. This includes effect compiler errors and high-level language compile errors.
See Also
Reference
CompiledShader Structure
CompiledShader Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista