ID3D10Effect::GetTechniqueByName method (d3d10effect.h)

Get a technique by name.

Syntax

ID3D10EffectTechnique * GetTechniqueByName(
  LPCSTR Name
);

Parameters

Name

Type: LPCSTR

The name of the technique.

Return value

Type: ID3D10EffectTechnique*

A pointer to an ID3D10EffectTechnique Interface, or NULL if the technique is not found.

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

   
Target Platform Windows
Header d3d10effect.h

See also

ID3D10Effect Interface