imgui

package
v0.0.0-...-dce6603 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotInit = errors.New("imgui context was not created")
)

Functions

func Begin

func Begin(label string) bool

func BeginFrame

func BeginFrame(displaySize, bufferSize math.Vec2i) error

func Button

func Button(label string) bool

func Columns

func Columns(count int)

func Create

func Create() error

func Destroy

func Destroy() error

func End

func End()

func EndFrame

func EndFrame() error

func Image

func Image(texture graphics.Texture)

func ImageSized

func ImageSized(texture graphics.Texture, size math.Vec2i)

func IsCreated

func IsCreated() bool

func NextColumn

func NextColumn()

func ProcessEvent

func ProcessEvent(event sdl.Event) (bool, error)

func SameLine

func SameLine()

func SetNextWindowPos

func SetNextWindowPos(pos math.Vec2i)

func SetNextWindowSize

func SetNextWindowSize(size math.Vec2i)

func ShowDemoWindow

func ShowDemoWindow()

func SliderInt

func SliderInt(label string, value *int, min, max int) bool

func Text

func Text(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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