ShaderCompiler.Disassemble Method
Note
This method is available only when developing for Windows.
Disassembles a shader.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static string Disassemble (
byte[] shaderCode,
bool enableColorCode,
string comments
)
Parameters
- shaderCode
The shader byte code to disassemble. - enableColorCode
[MarshalAsAttribute(U1)] Specifies whether to enable color coding to make the disassembly easier to read. - comments
A comment string to include at the top of the shader.
Return Value
The disassembled shader.
See Also
Reference
ShaderCompiler Class
ShaderCompiler Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista