VertexFormatBuilder

Description

sealed class Tinman.Terrain.Vertices.Formats.VertexFormatBuilder

A builder for IVertexFormat instances.

Public / Methods

Append


public method Append → (1)

component in : IVertexComponent

[not-null]
The vertex component to append.

returns → VertexFormatBuilder

this

Appends the given vertex component to the vertex format.

Build


public method Build → (1)

alignment opt : int32 = 4

[>0]
The alignment, in 32-bit words.

returns → IVertexFormat

The built vertex format.

Builds the vertex format, using the given alignment.