Microsoft DirectX 9.0 SDK Update (October 2004)

Caps.MaxPrimitiveCount Property

Language:

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

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

Definition

Visual Basic .NET Public ReadOnly Property MaxPrimitiveCount As Integer
C# public int MaxPrimitiveCount { get; }
Managed C++ public: __property int get_MaxPrimitiveCount();
JScript .NET public function get MaxPrimitiveCount() : int

Property Value

System.Int32 . An Int32 Leave 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.


© 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