VertexElement Structure

Defines input vertex data to the pipeline.

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

public struct VertexElement

The VertexElement type exposes the following members.

Public methodVertexElementInitializes a new instance of the VertexElement class.

Public propertyOffsetGets or sets the offset (if any) from the beginning of the stream to the beginning of the vertex data.
Public propertyUsageIndexModifies the usage data to allow the user to specify multiple usage types.
Public propertyVertexElementFormatGets or sets the format of this vertex element.
Public propertyVertexElementUsageGets or sets a value describing how the vertex element is to be used.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions