Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
func Render(target *ebiten.Image, drawData imgui.DrawData, txcache TextureCache, dfilter ebiten.Filter)
Render the ImGui drawData into the target *ebiten.Image
func RenderMasked ¶
func RenderMasked(target *ebiten.Image, mask *ebiten.Image, drawData imgui.DrawData, txcache TextureCache, dfilter ebiten.Filter)
RenderMasked renders the ImGui drawData into the target *ebiten.Image with ebiten.CompositeModeCopy for masking
Types ¶
type GetCursorFn ¶
type GetCursorFn func() (x, y float32)
type Manager ¶
type Manager struct { Filter ebiten.Filter Cache TextureCache GetCursor GetCursorFn SyncInputsFn func() SyncCursor bool SyncInputs bool ClipMask bool // contains filtered or unexported fields }
func NewWithContext ¶
func NewWithContext(ctx *imgui.Context) *Manager
type TextureCache ¶
type TextureCache interface { FontAtlasTextureID() imgui.TextureID SetFontAtlasTextureID(id imgui.TextureID) GetTexture(id imgui.TextureID) *ebiten.Image SetTexture(id imgui.TextureID, img *ebiten.Image) RemoveTexture(id imgui.TextureID) ResetFontAtlasCache() }
func NewCache ¶
func NewCache() TextureCache
Click to show internal directories.
Click to hide internal directories.