DVUI

CacheWidget

Fields

#
wd:WidgetData
WidgetData
init_opts:InitOptions
InitOptions
hash:u64
u64
refresh_prev_value:u8
u8
state:enum { ok, texture_create_error, unsupported }
enum { ok, texture_create_error, unsupported }
caching_tex:?dvui.TextureTarget
?dvui.TextureTarget
tex_uv:Size
Size
old_target:dvui.RenderTarget

SAFETY: Must be set when caching_tex is not null

old_clip:?Rect.Physical
?Rect.Physical
layout:dvui.BasicLayout
dvui.BasicLayout

Types

#

Functions

#
init

It's expected to call this when self is undefined

uncached

Must be called after install().

deinit

This deinit function returns an error because of the additional