Documentation
¶
Index ¶
- func ImguiActivatePanel(name string)
- func ImguiDeactivatePanel(name string)
- func ImguiDestroy()
- func ImguiGenVec2(v1, v2 float32) imgui.Vec2
- func ImguiGenVec4(v1, v2, v3, v4 float32) imgui.Vec4
- func ImguiNewFrame()
- func ImguiPanelStatus(name string) *bool
- func ImguiRegisterPanel(name string, i interface{})
- func ImguiRender()
- func ImguiSetDefaultKeyCallback()
- func ImguiTogglePanel(name string)
- func ImguiWantsKeyInput() bool
- func ImguiWantsMouse() bool
- func ImguiWantsTextInput() bool
- func InitImguiLayer(window *glfw.Window)
- type ImguiLayer
- type ImguiPanel
- type ImguiRenderer
- type Stopwatch
- type UVSpriteMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImguiActivatePanel ¶
func ImguiActivatePanel(name string)
func ImguiDeactivatePanel ¶
func ImguiDeactivatePanel(name string)
func ImguiDestroy ¶
func ImguiDestroy()
func ImguiGenVec2 ¶
func ImguiGenVec2(v1, v2 float32) imgui.Vec2
func ImguiGenVec4 ¶
func ImguiGenVec4(v1, v2, v3, v4 float32) imgui.Vec4
func ImguiNewFrame ¶
func ImguiNewFrame()
func ImguiPanelStatus ¶
func ImguiRegisterPanel ¶
func ImguiRegisterPanel(name string, i interface{})
func ImguiRender ¶
func ImguiRender()
func ImguiSetDefaultKeyCallback ¶
func ImguiSetDefaultKeyCallback()
Revert to the default key callback
func ImguiTogglePanel ¶
func ImguiTogglePanel(name string)
func ImguiWantsKeyInput ¶
func ImguiWantsKeyInput() bool
func ImguiWantsMouse ¶
func ImguiWantsMouse() bool
func ImguiWantsTextInput ¶
func ImguiWantsTextInput() bool
func InitImguiLayer ¶
Types ¶
type ImguiLayer ¶
type ImguiLayer struct {
// contains filtered or unexported fields
}
func GetImguiLayer ¶
func GetImguiLayer() *ImguiLayer
type ImguiPanel ¶
type ImguiPanel struct {
// contains filtered or unexported fields
}
type ImguiRenderer ¶
type ImguiRenderer interface {
RenderPanel()
}
type UVSpriteMap ¶
type UVSpriteMap struct {
// contains filtered or unexported fields
}
func (*UVSpriteMap) Black ¶
func (uv *UVSpriteMap) Black() color.Color
func (*UVSpriteMap) SetBlackChannel ¶
func (uv *UVSpriteMap) SetBlackChannel(color color.Color)
func (*UVSpriteMap) SetWhiteChannel ¶
func (uv *UVSpriteMap) SetWhiteChannel(color color.Color)
func (*UVSpriteMap) White ¶
func (uv *UVSpriteMap) White() color.Color
Click to show internal directories.
Click to hide internal directories.