|
|
@@ -150,6 +150,8 @@ RMLUICORE_API EventId RegisterEventType(const String& type, bool interruptible,
|
|
|
RMLUICORE_API StringList GetTextureSourceList();
|
|
|
/// Forces all texture handles loaded and generated by RmlUi to be released.
|
|
|
RMLUICORE_API void ReleaseTextures();
|
|
|
+/// Releases a specified texture by name from memory, returning 'true' if successful and 'false' if not found.
|
|
|
+RMLUICORE_API bool ReleaseTexture(const String& name);
|
|
|
/// Forces all compiled geometry handles generated by RmlUi to be released.
|
|
|
RMLUICORE_API void ReleaseCompiledGeometry();
|
|
|
/// Releases unused font textures and rendered glyphs to free up memory, and regenerates actively used fonts.
|