Effect.Disassemble Method |
Language: |
Disassembles an effect.
Visual Basic .NET Public Shared Function Disassemble( _
ByVal effect As Effect, _
ByVal enableColorCode As Boolean _
) As StringC# public static string Disassemble(
Effect effect,
bool enableColorCode
);Managed C++ public: static String* Disassemble(
Effect *effect,
bool enableColorCode
);JScript .NET public static function Disassemble(
effect : Effect,
enableColorCode : boolean
) : String;
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.
System.String . A string that contains the disassembled effect.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. InvalidDataException The data is invalid. OutOfMemoryException Microsoft® Direct3D® could not allocate sufficient memory to complete the call.
Feedback? Please provide us with your comments on this topic.