D3DDisassemble10Effect function (d3dcompiler.h)

Disassembles compiled HLSL code from a Direct3D10 effect.

Syntax

HRESULT D3DDisassemble10Effect(
  [in]  ID3D10Effect *pEffect,
  [in]  UINT         Flags,
  [out] ID3DBlob     **ppDisassembly
);

Parameters

[in] pEffect

Type: ID3D10Effect*

A pointer to source data as compiled HLSL code.

[in] Flags

Type: UINT

Shader compile options.

[out] ppDisassembly

Type: ID3DBlob**

A pointer to a buffer that receives the ID3DBlob interface that contains disassembly text.

Return value

Type: HRESULT

Returns one of the Direct3D 11 return codes.

Requirements

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

See also

Functions