Effect.Disassemble Method

Language:

Disassembles an effect.

Definition

Visual Basic Public Shared Function Disassemble( _
    ByVal effect As Effect, _
    ByVal enableColorCode As Boolean _
) As String
C# public static string Disassemble(
    Effect effect,
    bool enableColorCode
);
C++ public:
static StringDisassemble(
    Effecteffect,
    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
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
InvalidDataException The data is invalid.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.