bool Initialize(id<MTLDevice> device);
Initialize MeshCache for operation, including allocating of the reserve buffer.
Parameters |
Description |
id<MTLDevice> device |
The MTLDevice for creating mesh buffers. |
True if the mesh cache is successfully initialized and false otherwise.