testing

package
v1.12.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MainWithRunLoop

func MainWithRunLoop(m *testing.M)

func ShaderProgramFill

func ShaderProgramFill(r, g, b, a byte) shaderir.Program

ShaderProgramFill returns a shader intermediate representation to fill the frambuffer.

Uniform variable's index and its value are:

0: the framebuffer size (Vec2)

func ShaderProgramImages

func ShaderProgramImages(imageNum int) shaderir.Program

ShaderProgramImages returns a shader intermediate representation to render the frambuffer with the given images.

Uniform variables's indices and their values are:

0:  the framebuffer size (Vec2)

The first image's size and region are represented in attribute variables.

The size and region values are actually not used in this shader so far.

Types

This section is empty.

Jump to

Keyboard shortcuts

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