D3D10ReflectShader function (d3d10shader.h)

This function -- which creates a shader-reflection object for retrieving information about a compiled shader -- has been deprecated. Instead, use D3DReflect.

Syntax

HRESULT D3D10ReflectShader(
  [in]  const void             *pShaderBytecode,
  [in]  SIZE_T                 BytecodeLength,
  [out] ID3D10ShaderReflection **ppReflector
);

Parameters

[in] pShaderBytecode

Type: const void*

A pointer to the compiled shader.

[in] BytecodeLength

Type: SIZE_T

Length of pShaderBytecode.

[out] ppReflector

Type: ID3D10ShaderReflection**

Address of a reflection interface.

Return value

Type: HRESULT

Return value.

Requirements

Requirement Value
Target Platform Windows
Header d3d10shader.h
Library D3D10.lib
DLL D3D10.dll

See also

Shader Functions