ID3D10Effect::GetTechniqueByIndex method (d3d10effect.h)

Get a technique by index.

Syntax

ID3D10EffectTechnique * GetTechniqueByIndex(
  [in] UINT Index
);

Parameters

[in] Index

Type: UINT

A zero-based index.

Return value

Type: ID3D10EffectTechnique*

A pointer to an ID3D10EffectTechnique Interface.

Remarks

An effect contains one or more techniques; each technique contains one or more passes. You can access a technique using its name or with an index. For more about techniques, see techniques and passes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10Effect Interface