Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CompiledShader Constructor

CompiledShader Constructor

Bb195863.note(en-US,XNAGameStudio.30).gifNote
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)

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.

Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft