VertexComponent

Description

abstract class Tinman.Terrain.Vertices.Formats.VertexComponent

Derived from

IVertexComponent

Abstract base class for IVertexComponent implementations.

Protected / Constructors

Vertex​Component


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.

tuple​Size


protected readonly attribute tupleSize → (int32)

The tuple size of the vertex array.

vertex​Array


protected attribute vertexArray → (IVertexArray)

The vertex array this vertex format uses.

vertex​Array​Double


protected attribute vertexArrayDouble → (float64 [ ])

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

vertex​Array​Float


protected attribute vertexArrayFloat → (float32 [ ])

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

vertex​Array​Int


protected attribute vertexArrayInt → (int32 [ ])

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

vertex​Array​Long


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.