MeshStagingBuffer::PinMesh

MeshStagingBuffer::PinMesh
void PinMesh(MeshBase* pmesh);
Description

PinMesh pins a mesh so that it cannot be swapped out by future Generate call. Typically, all meshes in a batch are pinned before they are uploaded to the vertex/index buffers.

Parameters
Parameters 
Description 
MeshBase* pmesh 
Pointer to the MeshBase for obtaining the mesh.