Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Syntax
HRESULT D3DGetDebugInfo(
[in] LPCVOID pSrcData,
[in] SIZE_T SrcDataSize,
[out] ID3DBlob **ppDebugInfo
);
Parameters
[in] pSrcData
Type: LPCVOID
A pointer to source data; either uncompiled or compiled HLSL code.
[in] SrcDataSize
Type: SIZE_T
Length of pSrcData.
[out] ppDebugInfo
Type: ID3DBlob**
A pointer to a buffer that receives the ID3DBlob interface that contains debug information.
Return value
Type: HRESULT
Returns one of the Direct3D 11 return codes.
Remarks
Debug information is embedded in the body of the shader after calling D3DCompile.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3dcompiler.h |
Library | D3dcompiler_47.lib |
DLL | D3dcompiler_47.dll |