ID3D10ShaderReflection1::IsLevel9Shader method (d3d10_1shader.h)

Indicates whether a shader was compiled in Direct3D 10 on Direct3D 9 mode.

Syntax

HRESULT IsLevel9Shader(
  [in] BOOL *pbLevel9Shader
);

Parameters

[in] pbLevel9Shader

Type: BOOL*

Pointer to a BOOL variable that will be set true if the shader was compiled in Direct3D 10 on Direct3D 9 mode; otherwise false.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Remarks

This method requires Windows Vista Service Pack 1.

Requirements

Requirement Value
Target Platform Windows
Header d3d10_1shader.h

See also

ID3D10ShaderReflection1 Interface