Table of Contents

Class VertexDeclarationContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides methods and properties for maintaining the vertex declaration data of a VertexContent.

public class VertexDeclarationContent : ContentItem
Inheritance
VertexDeclarationContent
Inherited Members

Constructors

VertexDeclarationContent()

Initializes a new instance of VertexDeclarationContent.

public VertexDeclarationContent()

Properties

VertexElements

Gets the VertexElement object of the vertex declaration.

public Collection<VertexElement> VertexElements { get; }

Property Value

Collection<VertexElement>

The VertexElement object of the vertex declaration.

VertexStride

The number of bytes from one vertex to the next.

public int? VertexStride { get; set; }

Property Value

int?

The stride (in bytes).