Share via


VertexCache.MagicNumber Property (Microsoft.DirectX.Direct3D)

Retrieves a value that is used by internal optimization methods to determine when to restart strips.

Definition

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

Property Value

System.Int32
Value that determines when to restart strips.

This property is read-only. 

Remarks

This value cannot be set or modified by a user. It is required only if OptimizationMethod is set to 1.