![]() |
![]() |
![]() |
Caps.MaxPrimitiveCount Property |
Language: |
Retrieves the maximum number of primitives for each Device.DrawPrimitives call.
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
System.Int32 . An Int32
This property is read-only.value that indicates the maximum number of primitives for each Device.DrawPrimitives call.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center