Microsoft DirectX 9.0 SDK Update (October 2004)

VertexFormatCaps.SupportsDoNotStripElements Property

Language:

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

Specifies whether a device supports keeping vertex elements or stripping them if they are not needed for rendering.

Definition

Visual Basic .NET Public ReadOnly Property SupportsDoNotStripElements As Boolean
C# public bool SupportsDoNotStripElements { get; }
Managed C++ public: __property bool get_SupportsDoNotStripElements();
JScript .NET public function get SupportsDoNotStripElements() : boolean

Property Value

System.Boolean . Value that is true if the device supports keeping vertex elements, or false if it supports stripping vertex elements.

This property is read-only. 

Remarks

It is preferable that vertex elements not be stripped. That is, if the vertex format contains elements that are not used with the current render states, there is no need to regenerate the vertices. If this capability flag is not present, stripping extraneous elements from the vertex format results in better performance.


© 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