testing

package
Version: v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 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 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
t or T : Toggle theme light dark auto