backend

package
v0.0.0-...-e8e0880 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 Init

func Init(window *glfw.Window)

func InputCallback

func InputCallback(input rune)

InputCallback is called when a char is inputed (CharChange)

func KeyCallback

func KeyCallback(key glfw.Key, action glfw.Action)

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.

func NewFrame

func NewFrame()

NewFrame marks the begin of a render pass.

func Render

func Render(win *glfw.Window)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL