Effect.Disassemble(Effect,Boolean) Method (Microsoft.DirectX.Direct3D)
Disassembles an effect.
Definition
Visual Basic Public Shared Function Disassemble( _
ByVal effect As Effect, _
ByVal enableColorCode As Boolean _
) As StringC# public static string Disassemble(
Effect effect,
bool enableColorCode
);C++ public:
static String^ Disassemble(
Effect^ effect,
bool enableColorCode
);JScript public static function Disassemble(
effect : Effect,
enableColorCode : boolean
) : String;
Parameters
effect Microsoft.DirectX.Direct3D.Effect
An Effect object that contains the effect to disassemble.enableColorCode System.Boolean
Set to true to enable color coding to make the disassembly easier to read. Set to false for no color coding.
Return Value
System.String
A string that contains the disassembled effect.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
The data is invalid.
Microsoft Direct3D could not allocate sufficient memory to complete the call.