virtual bool SetParams(const GlyphCacheParams& params) = 0;
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 |
Description |
const GlyphCacheParams& params |
Structure describing the glyph cache parameters, see GlyphCacheParams. |
Returns true if the texture buffer is created and false if texture buffer resize failed.