opengl

package
v0.0.0-...-20810c9 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KEYS = map[glfw.Key]string{}/* 120 elements not displayed */

Functions

func NewGraphicsSystem

func NewGraphicsSystem() axe.GraphicsSystem

func NewInputSystem

func NewInputSystem() axe.InputSystem

func NewWindowSystem

func NewWindowSystem(settings Settings) *windowSystem

func Setup

func Setup(game *axe.Game, settings Settings)

Types

type Settings

type Settings struct {
	Major   int
	Minor   int
	Core    bool
	Forward bool
}

func (Settings) HasVersion

func (s Settings) HasVersion() bool

func (Settings) SupportsCore

func (s Settings) SupportsCore() bool

type TextureFormat

type TextureFormat struct{}

func (*TextureFormat) Activate

func (loader *TextureFormat) Activate(asset *asset.Asset) error

func (*TextureFormat) Deactivate

func (loader *TextureFormat) Deactivate(asset *asset.Asset) error

func (*TextureFormat) Handles

func (loader *TextureFormat) Handles(ref asset.Ref) bool

func (*TextureFormat) Load

func (loader *TextureFormat) Load(asset *asset.Asset) error

func (*TextureFormat) Types

func (loader *TextureFormat) Types() []asset.Type

func (*TextureFormat) Unload

func (loader *TextureFormat) Unload(asset *asset.Asset) error

Jump to

Keyboard shortcuts

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