Class GLProgram

Base class for GUI shader programs

class GLProgram

Constructors

NameDescription
this ()

Fields

TypeNameDescription
const(uint)
programID

Properties

TypeNameDescription
bool
isValid[get] Returns true if program is ready for use
string[ShaderStage]
sources[get]

Methods

NameDescription
afterLinking (pi) Get code locations and other info. Return false on error
beforeLinking (pi) Bind locations, set transform feedback varyings, etc. Return false on error