Share via


VertexFormatCaps.SupportsDoNotStripElements Property (Microsoft.DirectX.Direct3D)

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

Definition

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

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.