Effect.Disassemble Method (Effect, Boolean)
Note
This method is available only when developing for Windows.
Disassembles an effect.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static string Disassemble (
Effect effect,
bool enableColorCode
)
Parameters
- effect
The effect to disassemble. - enableColorCode
[MarshalAsAttribute(U1)] true to enable color coding to make the disassembly easier to read.
Return Value
A string that contains the effect assembly (ASM).
Exceptions
Exception type | Condition |
---|---|
InsufficientMemoryException | Microsoft Direct3D could not allocate sufficient memory to complete the call. |
See Also
Reference
Effect Class
Effect Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista