VertexBufferUpdater

Description

sealed class Tinman.Terrain.Kernel.VertexBufferUpdater

Derived from

VertexUpdater abstract

An implementation of the IVertexUpdater interface that generates binary vertex data using a IVertexFormat and stores it in a IVertexBuffer.

Public / Constructors

Vertex​Buffer​Updater


public constructor VertexBufferUpdater → (1)

vertexFormat in : IVertexFormat

[not-null]
The initial vertex format (see VertexFormat).

Creates a new instance of VertexBufferUpdater.

Public / Methods

Invalidate


public method Invalidate → ()

Causes the next call to IDataUpdater.Validate to return false.

Call this method if the vertex buffer needs to be refreshed.

Public / Attributes

Vertex​Buffer


public attribute VertexBuffer → (get,set)

value : IVertexBuffer

The vertex buffer or null.

The vertex buffer to update.

Vertex​Format


public attribute VertexFormat → (get)

value : IVertexFormat

The vertex format or null.

The vertex format to use.