ID3D10EffectTechnique interface

An ID3D10EffectTechnique interface is a collection of passes.

The lifetime of an ID3D10EffectTechnique object is equal to the lifetime of its parent ID3D10Effect object.

Methods

The ID3D10EffectTechnique 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 (see Organizing State in an Effect (Direct3D 10)). The syntax for creating a technique is shown in Effect Technique Syntax (Direct3D 10).

To get an effect-technique interface, call a method like ID3D10Effect::GetTechniqueByName.

Requirements

Header

D3D10Effect.h

Library

D3D10.lib

See also

Effect Interfaces (Direct3D 10)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.