ID3D10EffectShaderVariable::GetShaderDesc method (d3d10effect.h)

Get a shader description.

Syntax

HRESULT GetShaderDesc(
  [in] UINT                     ShaderIndex,
  [in] D3D10_EFFECT_SHADER_DESC *pDesc
);

Parameters

[in] ShaderIndex

Type: UINT

A zero-based index.

[in] pDesc

Type: D3D10_EFFECT_SHADER_DESC*

A pointer to a shader description (see D3D10_EFFECT_SHADER_DESC).

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectShaderResourceVariable Interface

ID3D10EffectShaderVariable