Caps.MaxPrimitiveCount Property (Microsoft.DirectX.Direct3D)

Retrieves the maximum number of primitives for each Device.DrawPrimitives call.

Definition

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

Property Value

System.Int32
An Int32Leave Site value that indicates the maximum number of primitives for each Device.DrawPrimitives call.

This property is read-only. 

Remarks

Note that when Microsoft Direct3D is working with a Microsoft DirectX 6.0 or DirectX 7.0 driver, this field is set to 0xFFFF. This means that not only the number of primitives but also the number of vertices is limited by this value.