ID3DX11EffectTechnique interface

An ID3DX11EffectTechnique interface is a collection of passes.

The lifetime of an ID3DX11EffectTechnique object is equal to the lifetime of its parent ID3DX11Effect object.

Methods

The ID3DX11EffectTechnique interface has these methods.

MethodDescription
ComputeStateBlockMask

Compute a state-block mask to allow/prevent state changes.

GetAnnotationByIndex

Get an annotation by index.

GetAnnotationByName

Get an annotation by name.

GetDesc

Get a technique description.

GetPassByIndex

Get a pass by index.

GetPassByName

Get a pass by name.

IsValid

Test a technique to see if it contains valid syntax.

 

Remarks

An effect contains one or more techniques; each technique contains one or more passes; each pass contains state assignments.

To get an effect-technique interface, call a method such as ID3DX11Effect::GetTechniqueByName.

Note  The DirectX SDK does not supply any compiled binaries for effects. You must use Effects 11 source to build your effects-type application. For more information about using Effects 11 source, see Differences Between Effects 10 and Effects 11.
 

Requirements

Header

D3dx11effect.h

Library

N/A (An Effects 11 library is available online as shared source.)

See also

Effects 11 Interfaces
D3DX Interfaces

 

 

Show: