Windows Dev Center

XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

D3DDisassemble function

Disassembles compiled HLSL code.

Syntax

HRESULT WINAPI D3DDisassemble(
  in  LPCVOID pSrcData,
  in  SIZE_T SrcDataSize,
  in  UINT Flags,
  in  LPCSTR szComments,
  out ID3DBlob ppDisassembly
);

Parameters

pSrcData [in]

Type: LPCVOID

A pointer to source data as compiled HLSL code.

SrcDataSize [in]

Type: SIZE_T

Length of pSrcData.

Flags [in]

Type: UINT

Flags affecting the behavior of D3DDisassemble. Flags can be a combination of zero or more of the following values.

FlagDescription
D3D_DISASM_ENABLE_COLOR_CODEEnable the output of color codes.
D3D_DISASM_ENABLE_DEFAULT_VALUE_PRINTSEnable the output of default values.
D3D_DISASM_ENABLE_INSTRUCTION_NUMBERINGEnable instruction numbering.
D3D_DISASM_ENABLE_INSTRUCTION_CYCLENo effect.

 

szComments [in]

Type: LPCSTR

The optional comment string at the top of the shader that identifies the shader constants and variables.

ppDisassembly [out]

Type: ID3DBlob**

A pointer to a buffer that receives the ID3DBlob interface that accesses assembly text.

Return value

Type: HRESULT

Returns one of the Direct3D 11 return codes.

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

D3Dcompiler.h

Library

D3dcompiler_47.lib

DLL

D3dcompiler_47.dll

See also

Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft