DVUI

Cache

Fields

#
cache:Storage
Storage
trash:Trash

Used to defer destroying textures until the next call to reset or deinit

trash_target:std.ArrayList(dvui.Texture.Target)
std.ArrayList(dvui.Texture.Target)

Types

#

Functions

#
add

Add a texture to the cache. This is useful if you want to load

invalidate

Remove a key from the cache. This can force the re-creation

reset

Destroys all unused and trashed textures since the last

deinit

Deallocates and destroys all stored textures

Constants

#