virtual bool SetParams(const MeshCacheParams& params);
SetParams sets new MeshCache parameters, recreating mesh buffers if the cache is already initialized. Returns false if buffer resize failed. Note that some parameters applied may be modified by HAL to match its capabilities.
Parameters |
Description |
const MeshCacheParams& params |
Structure describing the mesh cache parameters, see MeshCacheParams. |
Returns true if the mesh buffer is created and false if mesh buffer resize failed.