Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

D3Dcompiler.h

Library

D3dcompiler_47.lib

DLL

D3dcompiler_47.dll

See also

Functions

 

 

Show:
© 2016 Microsoft