GLShader

Undocumented in source.

Constructors

this
this(uint programId, uint vertexShaderId, uint fragmentShaderId)

GLShader constructor.

Destructor

~this
~this()

GLShader destructor.

Members

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
getUniformLocation
int getUniformLocation(string uniformName)

Returns location of an uniform variable.

Properties

programId
uint programId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

load
GLShader load(string fileName)

Loads a shader from file.

load
GLShader load(string vs, string fs)

Loads a shader from source.

Meta