Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadProgram ¶
func LoadProgram(glctx gl.Context, vertexAsset, fragmentAsset string) (program gl.Program, err error)
LoadProgram reads shader sources from the asset repository, compiles, and links them into a program.
func LoadShaders ¶
func ShaderLoader ¶
Types ¶
type Shader ¶
Click to show internal directories.
Click to hide internal directories.