DVUI

textureInvalidateCache

See Texture.Cache.invalidate

Only valid between Window.beginand Window.end.

Parameters

#
key:Texture.Cache.Key
Texture.Cache.Key

Source

Implementation

#
pub fn textureInvalidateCache(key: Texture.Cache.Key) void {
    currentWindow().texture_cache.invalidate(currentWindow().gpa, key) catch |err| {
        dvui.logError(@src(), err, "Could not invalidate texture with key {x}", .{key});
        return;
    };
}