TechniqueDescription.Passes Property (Microsoft.DirectX.Direct3D)

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.