Module beamui.graphics.gl.compiler

GLSL shader compiling and linking routines.

Import line

import beamui.graphics.gl.compiler;

Functions

NameDescription
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

NameDescription
ShaderStage