MeshCacheConfig::SetParams

MeshCacheConfig::SetParams
virtual bool SetParams(const MeshCacheParams& params) = 0;
Description

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
Parameters 
Description 
const MeshCacheParams& params 
Structure describing the mesh cache parameters, see MeshCacheParams
Return Value

Returns true if the mesh buffer is created and false if mesh buffer resize failed.