Funzione D3D10GetShaderDebugInfo (d3d10shader.h)
Ottenere informazioni di debug dello shader. Le informazioni di debug vengono generate da D3D10CompileShader e vengono incorporate nel corpo dello shader.
Sintassi
HRESULT D3D10GetShaderDebugInfo(
const void *pShaderBytecode,
SIZE_T BytecodeLength,
ID3D10Blob **ppDebugInfo
);
Parametri
pShaderBytecode
Tipo: const void*
Puntatore al shader compilato. Per ottenere questo puntatore, vedere Recupero di un puntatore a uno shader compilato.
BytecodeLength
Tipo: SIZE_T
Lunghezza del buffer bytecode shader.
ppDebugInfo
Tipo: ID3D10Blob**
Puntatore a un'interfaccia ID3D10Blob usata per restituire le informazioni di debug. Per informazioni sul layout di questo buffer, vedere D3D10_SHADER_DEBUG_INFO.
Valore restituito
Tipo: HRESULT
Restituisce uno dei codici restituiti Direct3D 10 seguenti.
Requisiti
Requisito | Valore |
---|---|
Piattaforma di destinazione | Windows |
Intestazione | d3d10shader.h |
Libreria | D3D10.lib |
DLL | D3D10.dll |