The `ReleaseTexture` function should free and clear everything related to the generated textures, previously used by RmlUi.