imgui

package
v0.0.0-...-a673a00 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0, BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Imgui

type Imgui struct {
	// contains filtered or unexported fields
}

func NewImgui

func NewImgui(window window.Window) *Imgui

func (*Imgui) Begin

func (gui *Imgui) Begin()

func (*Imgui) ClipboardText

func (gui *Imgui) ClipboardText() string

ClipboardText returns the current clipboard text, if available.

func (*Imgui) Destruct

func (gui *Imgui) Destruct()

func (*Imgui) End

func (gui *Imgui) End()

func (*Imgui) SetClipboardText

func (gui *Imgui) SetClipboardText(text string)

SetClipboardText sets the text as the current clipboard text.

type OpenGL3

type OpenGL3 struct {
	// contains filtered or unexported fields
}

OpenGL3 implements a renderer based on github.com/go-gl/gl (v3.2-core).

func (*OpenGL3) Dispose

func (renderer *OpenGL3) Dispose()

Dispose cleans up the resources.

func (*OpenGL3) PreRender

func (renderer *OpenGL3) PreRender(clearColor [4]float32)

PreRender clears the framebuffer.

func (*OpenGL3) Render

func (renderer *OpenGL3) Render(displaySize [2]float32, framebufferSize [2]float32, drawData imgui.DrawData)

Render translates the ImGui draw data to OpenGL3 commands.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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