Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TextureIDForBitmapTexture ¶
TextureIDForBitmapTexture returns a texture ID that identifies a bitmap texture.
func TextureImage ¶ added in v0.5.0
func TextureImage(label string, cache *graphics.TextureCache, key resource.Key, size imgui.Vec2)
TextureImage renders an image centered and fitted within the given size.
func TextureSelector ¶ added in v0.4.0
func TextureSelector(label string, width float32, guiScale float32, count int, selectedIndex int, cache *graphics.TextureCache, keyResolver func(int) resource.Key, tooltipText func(int) string, changeCallback func(int))
TextureSelector renders a horizontal list of game textures, with selection capability.
Types ¶
Click to show internal directories.
Click to hide internal directories.