Module beamui.graphics.gl.compiler
GLSL shader compiling and linking routines.
Import line
import beamui .graphics .gl .compiler;
Functions
Name | Description |
---|---|
compileShader(source, stage)
|
Compile single shader from source. Returns 0 in case of error |
linkProgram(programID)
|
Link prepared shader program. Returns false in case of error |
Enums
Name | Description |
---|---|
ShaderStage
|