struct MeshStagingNode : public ListNode<MeshStagingNode> { UPInt StagingBufferSize; UPInt StagingBufferOffset; UPInt StagingBufferIndexOffset; unsigned PinCount; unsigned VertexCount; unsigned IndexCount; };
MeshStagingNode describes the location of the mesh in the staging buffer (MeshStagingBuffer), if any.
Data Member |
Description |
Mesh data size - Number of indices in a mesh. | |
If not 0, this is the number of times a mesh has been pinned in the staging buffer. Pinned meshes cannot be swapped out. | |
Index of the offsets applied to the staging buffer. | |
Offset applied to the staging buffer. | |
If not 0, this is the location of the cached mesh data within the staging buffer, which holds the mesh data after mesh generation. | |
Mesh Data size - Number of vertices in the mesh. |
Method |
Description |
MeshStagingNode constructor. | |
Evicts the cached mesh items from the staging buffer. |
Render_Primitive.h