VertexComponent

Description

abstract class Tinman.Terrain.Vertices.Formats.VertexComponent

Derived from

IVertexComponent

Abstract base class for IVertexComponent implementations.

Protected / Constructors

VertexComponent


protected constructor VertexComponent → (2)

element in : VertexElement

[not-null]
The vertex element.

semantic in : Semantic

The Semantic to use for initializing vertexArray.

Creates a new instance of VertexComponent.

Protected / Attributes

buffer


protected attribute buffer → (ByteBuffer)

The current vertex buffer.

semantic


protected readonly attribute semantic → (Semantic)

The semantic of this vertex component.

tupleSize


protected readonly attribute tupleSize → (int32)

The tuple size of the vertex array.

vertexArray


protected attribute vertexArray → (IVertexArray)

The vertex array this vertex format uses.

vertexArrayDouble


protected attribute vertexArrayDouble → (float64 [ ])

The vertexArray, as a double array or null if not applicable.

vertexArrayFloat


protected attribute vertexArrayFloat → (float32 [ ])

The vertexArray, as a float array or null if not applicable.

vertexArrayInt


protected attribute vertexArrayInt → (int32 [ ])

The vertexArray, as an int array or null if not applicable.

vertexArrayLong


protected attribute vertexArrayLong → (int64 [ ])

The vertexArray, as a long array or null if not applicable.

writer


protected readonly attribute writer → (IVertexElementWriter)

The vertex element writer to use.