GlyphCacheConfig::SetParams

GlyphCacheConfig::SetParams
virtual bool SetParams(const GlyphCacheParams& params) = 0;
Description

SetParams sets new GlyphCache parameters, recreating texture buffers if the cache is already initialized. Returns false if buffer resize failed. Note that some parameters applied may be modified by HAL/Renderer to match its capabilities.

Parameters
Parameters 
Description 
const GlyphCacheParams& params 
Structure describing the glyph cache parameters, see GlyphCacheParams
Return Value

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