TechniqueDescription.Passes Property

Language:

Retrieves the number of rendering passes the technique requires.

Definition

Visual Basic Public ReadOnly Property Passes As Integer
C# public int Passes { get; }
C++ public:
property int Passes {
        int get();
}
JScript public function get Passes() : int

Property Value

System.Int32
Integer that represents the number of rendering passes required.

This property is read-only. 

Remarks

Some video cards can render two textures in a single pass. However, if a card does not have this capability, it is often possible to render the same effect in two passes, using one texture for each pass.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center