![]() |
![]() |
![]() |
VertexFormatCaps.SupportsDoNotStripElements Property |
Language: |
Specifies whether a device supports keeping vertex elements or stripping them if they are not needed for rendering.
Visual Basic Public ReadOnly Property SupportsDoNotStripElements As Boolean C# public bool SupportsDoNotStripElements { get; } C++ public:
property bool SupportsDoNotStripElements {
bool get();
}JScript public function get SupportsDoNotStripElements() : boolean
System.Boolean
This property is read-only.
Value that is true if the device supports keeping vertex elements, or false if it supports stripping vertex elements.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center