Struct VertexElementWithOffset
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
vertexElementVertexElementThe Vertex Element structure that describes a vertex attribute. offsetintThe offset in bytes from the start of the vertex to this element. sizeintThe 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
Size
The size in bytes of this element within the vertex structure.
public int Size
Field Value
VertexElement
The Vertex Element structure that describes a vertex attribute.
public VertexElement VertexElement