D3DGetDebugInfo function
Note You can use this API to develop your Windows Store apps, but you can't use it in apps that you submit to the Windows Store.
Gets shader debug information.
Syntax
HRESULT WINAPI D3DGetDebugInfo( in LPCVOID pSrcData, in SIZE_T SrcDataSize, out ID3DBlob ppDebugInfo );
Parameters
- pSrcData [in]
-
Type: LPCVOID
A pointer to source data; either uncompiled or compiled HLSL code.
- SrcDataSize [in]
-
Type: SIZE_T
Length of pSrcData.
- ppDebugInfo [out]
-
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
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: