Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
[in] pShader
Type: const void*
A pointer to the compiled shader.
[in] BytecodeLength
Type: SIZE_T
The size of pShader.
[in] EnableColorCode
Type: BOOL
Include HTML tags in the output to color code the result.
[in] pComments
Type: LPCSTR
The comment string at the top of the shader that identifies the shader constants and variables.
[out] ppDisassembly
Type: ID3D10Blob**
Address of a buffer which contains the disassembled shader.
Return value
Type: HRESULT
Return value
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d10shader.h |
| Library | D3D10.lib |
| DLL | D3D10.dll |