IVertexUpdater
Description
- Derived from
- Extended by
-
VertexUpdater abstract
VertexUpdaterList sealed
Base interface for classes that process vertex data updates.
Vertex updates are performed inside of MeshBuffer.MeshUpdate. This is the sequence of method calls for vertex updates:
-
IDataUpdater.Validate (returns
true
) -
UpdateAll, to refresh all vertices after an invalid state.
-
Update, to incrementally update all modified vertices.
Public / Methods
Update
Updates data for the given vertices.
A typical implementation will read vertex data from the VertexArrays object, construct some application-specific vertex value and store that value in some kind of vertex buffer (e.g. for rendering).
UpdateAll
Updates data for all vertices.
A typical implementation will read vertex data from the VertexArrays object, construct some application-specific vertex value and store that value in some kind of vertex buffer (e.g. for rendering).