![]() |
![]() |
![]() |
VertexFormatCaps.SupportsDoNotStripElements Property |
Language: |
Specifies whether a device supports keeping vertex elements or stripping them if they are not needed for rendering.
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
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.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center