void PinMesh(MeshBase* pmesh);
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 |
Description |
MeshBase* pmesh |
Pointer to the MeshBase for obtaining the mesh. |