Microsoft DirectX 9.0 SDK Update (October 2004)

TechniqueDescription.Passes Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the number of rendering passes the technique requires.

Definition

Visual Basic .NET Public ReadOnly Property Passes As Integer
C# public int Passes { get; }
Managed C++ public: __property int get_Passes();
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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