Documentation
¶
Index ¶
- func EnableShader(name string) error
- func GetAttribLocation(shaderName, attribName string) (int32, error)
- func GetUniformLocation(shaderName, uniformName string) (int32, error)
- func Init()
- func Purge()
- func Queue(f func())
- func RegisterShader(name string, vertex, fragment []byte) error
- func SetUniform4F(shader, variable string, vs []float32) error
- func SetUniformF(shader, variable string, f float32) error
- func SetUniformI(shader, variable string, n int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableShader ¶
func GetAttribLocation ¶
func GetUniformLocation ¶
func RegisterShader ¶
func SetUniform4F ¶
func SetUniformF ¶
func SetUniformI ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.