D3DGetDebugInfo function (d3dcompiler.h)

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 D3DGetDebugInfo(
  LPCVOID  pSrcData,
  SIZE_T   SrcDataSize,
  ID3DBlob **ppDebugInfo
);

Parameters

pSrcData

Type: LPCVOID

A pointer to source data; either uncompiled or compiled HLSL code.

SrcDataSize

Type: SIZE_T

Length of pSrcData.

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

   
Target Platform Windows
Header d3dcompiler.h
Library D3dcompiler_47.lib
DLL D3dcompiler_47.dll

See also

Functions