context

package
v0.0.0-...-7ca6639 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusUninitialized   = iota
	StatusGlfwInitialized = 1 << iota
	StatusGlInitialized
)

Variables

View Source
var (
	ErrGlfwNotInitialized = errors.New("GLFW has not been initialized. You have to call InitGlfw() first.")
	ErrGlfwNoContext      = errors.New("GLFW has no context. You have to call MakeContextCurrent() on a *glfw.Window first.")
	ErrGlNotInitialized   = errors.New("OpenGL has not been initialized. You have to call InitGl() first.")
)

Functions

func InitGl

func InitGl(cfg glConfig) (err error)

func InitGlfw

func InitGlfw() (err error)

func NewGlConfig

func NewGlConfig(errorChanBufferSize int) glConfig

func Status

func Status() int

func Terminate

func Terminate()

Types

This section is empty.

Jump to

Keyboard shortcuts

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