IMeshStructureUpdater
Description
- Derived from
- Extended by
-
MeshStructureUpdaterList sealed
StructuredBufferUpdater sealed
Base interface for classes that process mesh structure updates.
Mesh structure updates are performed inside of MeshBuffer.MeshUpdate. This is the sequence of method calls for mesh structure updates:
-
IDataUpdater.Validate (returns
true
) -
Update, to update the modified mesh structure.
The mesh structure buffer is a sequence of 32-bit integer values, using the following indexing scheme:
buffer[vertex * 6 + 0] := LL-child of vertex (not premultiplied) or -1 if none. buffer[vertex * 6 + 1] := LR-child of vertex (not premultiplied) or -1 if none. buffer[vertex * 6 + 2] := RL-child of vertex (not premultiplied) or -1 if none. buffer[vertex * 6 + 3] := RR-child of vertex (not premultiplied) or -1 if none. buffer[vertex * 6 + 4] := Grand-parent of vertex (not premultiplied) or -1 if none. buffer[vertex * 6 + 5] := Ancestor of vertex (not premultiplied) or -1 if none.
where vertex
is the vertex index.
- See also