ID3D10ShaderReflection1::GetResourceBindingDescByName method (d3d10_1shader.h)

Gets a resource binding description by name.

Syntax

HRESULT GetResourceBindingDescByName(
  [in] LPCSTR                       Name,
       D3D10_SHADER_INPUT_BIND_DESC *pDesc
);

Parameters

[in] Name

Type: LPCSTR*

A pointer to a string containing the variable name.

pDesc

Type: D3D10_SHADER_INPUT_BIND_DESC*

Pointer to a D3D10_SHADER_INPUT_BIND_DESC structure that will be populated with resource binding information.

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