Share via


GraphicsDeviceCapabilities.VertexFormatCaps.SupportsDoNotStripElements Property

Gets a value indicating whether vertex elements should not be stripped.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool SupportsDoNotStripElements { get; }

Property Value

true if vertex elements should not be stripped; otherwise false.

Remarks

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 property is false, stripping extraneous elements from the vertex format provides better performance.

See Also

Reference

GraphicsDeviceCapabilities.VertexFormatCaps Structure
GraphicsDeviceCapabilities.VertexFormatCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista