ID3D10EffectPass::GetDesc method (d3d10effect.h)

Get a pass description.

Syntax

HRESULT GetDesc(
  [in] D3D10_PASS_DESC *pDesc
);

Parameters

[in] pDesc

Type: D3D10_PASS_DESC*

A pointer to a pass description (see D3D10_PASS_DESC).

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Remarks

A pass is a block of code that sets render state and shaders (which in turn sets constant buffers, samplers and textures). An effect technique contains one or more passes. See techniques and passes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10Effect Interface

ID3D10EffectPass