D3D10DisassembleShader function
This function -- which disassembles a compiled shader into a text string that contains assembly instructions and register assignments -- has been deprecated. Instead, use D3DDisassemble.
Syntax
HRESULT D3D10DisassembleShader( _In_ const void *pShader, _In_ SIZE_T BytecodeLength, _In_ BOOL EnableColorCode, _In_ LPCSTR pComments, _Out_ ID3D10Blob **ppDisassembly );
Parameters
- pShader [in]
-
Type: const void*
A pointer to the compiled shader.
- BytecodeLength [in]
-
Type: SIZE_T
The size of pShader.
- EnableColorCode [in]
-
Type: BOOL
Include HTML tags in the output to color code the result.
- pComments [in]
-
Type: LPCSTR
The comment string at the top of the shader that identifies the shader constants and variables.
- ppDisassembly [out]
-
Type: ID3D10Blob**
Address of a buffer which contains the disassembled shader.
Return value
Type: HRESULT
Return value
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Build date: 11/28/2012