Documentation
¶
Index ¶
- func CreateFontsTexture()
- func GlyphRanges() imgui.GlyphRanges
- func Init(window *glfw.Window)
- func InputCallback(input rune)
- func KeyCallback(key glfw.Key, action glfw.Action)
- func MouseButtonCallback(button glfw.MouseButton, action glfw.Action)
- func MouseScrollCallback(x, y float64)
- func NewFrame()
- func Render(win *glfw.Window)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFontsTexture ¶
func CreateFontsTexture()
func GlyphRanges ¶
func GlyphRanges() imgui.GlyphRanges
GlyphRanges returns a custom-built glyph ranges set.
The ImGUI context must be already initialized.
func InputCallback ¶
func InputCallback(input rune)
InputCallback is called when a char is inputed (CharChange)
func KeyCallback ¶
KeyCallback is called when a key is pressed or released.
func MouseButtonCallback ¶
func MouseButtonCallback(button glfw.MouseButton, action glfw.Action)
MouseButtonCallback is the callback called when the mouse button changes.
func MouseScrollCallback ¶
func MouseScrollCallback(x, y float64)
MouseScrollCallback is called when scroll status changes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.