MeshStagingNode

MeshStagingNode
struct MeshStagingNode : public ListNode<MeshStagingNode> {
  UPInt StagingBufferSize;
  UPInt StagingBufferOffset;
  UPInt StagingBufferIndexOffset;
  unsigned PinCount;
  unsigned VertexCount;
  unsigned IndexCount;
};
Description

MeshStagingNode describes the location of the mesh in the staging buffer (MeshStagingBuffer), if any.

Data Members
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. 
Methods
Method 
Description 
MeshStagingNode constructor. 
Evicts the cached mesh items from the staging buffer. 
File

Render_Primitive.h