Partilhar via


GraphicsDeviceCapabilities.DeviceCaps.VertexElementScanSharesStreamOffset Property

Gets a value indicating whether the device allows multiple vertex elements to share the same offset in a stream.

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

Syntax

public bool VertexElementScanSharesStreamOffset { get; }

Property Value

true if the device allows multiple vertex elements to share the same offset in a stream; false otherwise.

Remarks

Multiple vertex elements can share the same offset in a stream if VertexElementScanSharesStreamOffset is true and the vertex declaration does not have an element with VertexElementUsage.PositionTransformed.

See Also

Reference

GraphicsDeviceCapabilities.DeviceCaps Structure
GraphicsDeviceCapabilities.DeviceCaps Members
DeviceCapabilities
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista