Page 1 of 1

how to increase dimensions for glyph texture in cpp native sdk?

Posted: 29 Sep 2025, 05:18
by dengfan
Noesis Log: Not enough space in glyph texture to render this frame. Flushing drawing commands. Please increase dimensions
Dear,
how to increase dimensions for glyph texture in cpp native sdk?

Re: how to increase dimensions for glyph texture in cpp native sdk?

Posted: 30 Sep 2025, 11:00
by jsantos
Call this in the RenderDevice class, before initializing the renderer:
/// Width of texture used to cache glyphs. Default is 1024
void SetGlyphCacheWidth(uint32_t width);
uint32_t GetGlyphCacheWidth() const;

/// Height of texture used to cache glyphs. Default is 1024
void SetGlyphCacheHeight(uint32_t height);
uint32_t GetGlyphCacheHeight() const;

Re: how to increase dimensions for glyph texture in cpp native sdk?

Posted: 30 Sep 2025, 13:52
by dengfan
Thank you very much :)