bool Initialize(RenderSync* rsync, ShaderManager* psm);
Initialize MeshCache for operation, including allocating of the reserve buffer.
Parameters |
Description |
RenderSync* rsync |
The RenderSync object, used for synchronizing the Vulkan CPU and GPU. |
ShaderManager* psm |
The ShaderManager. |
A Boolean value of true if the mesh cache is initialized successfully and false otherwise.