Initializes StagingBufferPrep for pinning mesh data in the staging buffer.
Parameters |
Description |
HAL* hal |
The render HAL. |
MeshCache* cache |
Pointer to the mesh cache. |
MeshCacheItem::MeshContent & mc |
Content in the mesh cache. |
const VertexFormat* format |
The required vertex format of the data to be prepared. |
bool canCopyData |
True, if the system is capable of copying vertex/index data from existing MeshCacheItems. |