Skip to content

Invalidating Texture data #233

Answered by mikke89
barotto asked this question in Q&A
Sep 3, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This can be achieved by simply calling Rml::ReleaseTextures(). This way RmlUi will call LoadTexture again on all the textures.

RMLUICORE_API void ReleaseTextures(RenderInterface* render_interface = nullptr);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@barotto
Comment options

@mikke89
Comment options

Answer selected by barotto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants