VertexFormatBase

Description

abstract class Tinman.Terrain.Vertices.Formats.VertexFormatBase

Derived from

IVertexFormat

Extended by

Example_VertexFormat sealed
VertexFormat sealed

Abstract base class for IVertexFormat implementations.

Protected / Methods

AssertBegun


protected method AssertBegun → (1)

source in : string

The error source tag.

Asserts that IVertexFormat.Begin has been called.

AssertNotBegun


protected method AssertNotBegun → (1)

source in : string

The error source tag.

Asserts that IVertexFormat.Begin has not been called.

WriteVertex


protected abstract method WriteVertex → (1)

vertex in : int32

The vertex index.

Writes vertex data to the current vertex buffer.

IOException

If an I/O exception has occurred while writing to the output stream.

Protected / Attributes

buffer


protected attribute buffer → (ByteBuffer)

The current vertex buffer.