Table of Contents

Struct VertexElementWithOffset

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Represents a VertexElement with additional metadata, including its offset and size.

public struct VertexElementWithOffset
Inherited Members
Extension Methods

Constructors

VertexElementWithOffset(VertexElement, int, int)

Represents a VertexElement with additional metadata, including its offset and size.

public VertexElementWithOffset(VertexElement vertexElement, int offset, int size)

Parameters

vertexElement VertexElement
The Vertex Element structure that describes a vertex attribute.
offset int
The offset in bytes from the start of the vertex to this element.
size int
The size in bytes of this element within the vertex structure.

Fields

Offset

The offset in bytes from the start of the vertex to this element.

public int Offset

Field Value

int

Size

The size in bytes of this element within the vertex structure.

public int Size

Field Value

int

VertexElement

The Vertex Element structure that describes a vertex attribute.

public VertexElement VertexElement

Field Value

VertexElement