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.