Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An ID3D10EffectTechnique interface is a collection of passes.
The lifetime of an ID3D10EffectTechnique object is equal to the lifetime of its parent ID3D10Effect object.
| Method | Description |
|---|---|
| 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. |
Methods
The ID3D10EffectTechnique interface has these methods.
| ID3D10EffectTechnique::ComputeStateBlockMask Compute a state-block mask to allow/prevent state changes. |
| ID3D10EffectTechnique::GetAnnotationByIndex The ID3D10EffectTechnique::GetAnnotationByIndex (d3d10effect.h) method gets an annotation by index. |
| ID3D10EffectTechnique::GetAnnotationByName Get an annotation by name. (ID3D10EffectTechnique.GetAnnotationByName) |
| ID3D10EffectTechnique::GetDesc Get a technique description. |
| ID3D10EffectTechnique::GetPassByIndex Get a pass by index. |
| ID3D10EffectTechnique::GetPassByName Get a pass by name. |
| ID3D10EffectTechnique::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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d10effect.h |