opengl

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenGL

type OpenGL struct {
	*rasterizer.Rasterizer
	// contains filtered or unexported fields
}

OpenGL is an open graphics library renderer.

func New

func New(width, height float64, resolution canvas.Resolution) *OpenGL

New returns an open graphics library (OpenGL) renderer.

func (*OpenGL) Compile

func (r *OpenGL) Compile()

func (*OpenGL) Draw

func (r *OpenGL) Draw()

Jump to

Keyboard shortcuts

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