render

package
v0.0.0-...-392c9ed Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisplayTarget

type DisplayTarget interface {
	Target
	RequestAnimationFrame(func())
}

type Renderer

type Renderer interface {
	Dispose()
	Init() error
	IsInitiated() bool
	NextFrame(func())
	GetPixelRatio() float32
	SetPixelRatio(ratio float32)
	GetSize() (x uint, y uint)
	SetSize(x uint, y uint)
	Render(scene *core.Scene, camera *core.Camera, target *Target, forceClear bool)
	SetScissor(area *math.Box2)
	SetViewport(area *math.Box2)
}

type Target

type Target interface {
}

Jump to

Keyboard shortcuts

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