D3DX10DisassembleEffect function
Note
Instead of using this legacy function, we recommend that you use the D3DDisassemble API.
This function -- which disassembles a compiled effect into a text string that contains assembly instructions and register assignments -- has been deprecated. Instead, use D3DDisassemble10Effect.
Syntax
HRESULT D3DX10DisassembleEffect(
_In_ ID3D10Effect *pEffect,
_In_ BOOL EnableColorCode,
_Out_ ID3D10Blob **ppDisassembly
);
Parameters
-
pEffect [in]
-
Type: ID3D10Effect*
A pointer to the effect interface (see ID3D10Effect Interface).
-
EnableColorCode [in]
-
Type: BOOL
Include HTML tags in the output to color code the result.
-
ppDisassembly [out]
-
Type: ID3D10Blob**
Address of a buffer (see ID3D10Blob Interface) which contains the disassembled effect.
Return value
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Header |
|
See also