MeshCache::Initialize

MeshCache::Initialize
bool Initialize(id<MTLDevice> device);
Description

Initialize MeshCache for operation, including allocating of the reserve buffer.

Parameters
Parameters 
Description 
id<MTLDevice> device 
The MTLDevice for creating mesh buffers. 
Return Value

True if the mesh cache is successfully initialized and false otherwise.