GLShader

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

Attach
void Attach()

Attach attaches the shader.

Detach
void Detach()

Detatch detatches the shader. (Binds shader 0)

GetUniform
uint GetUniform(string name)

GetUniform gets the position of a uniform.

HasUniform
bool HasUniform(string name)

HasUniform checks whenever the shader contains a unform with name "name" Returns true if it exists, false otherwise.

Properties

Attached
bool Attached [@property getter]

Gets whenever this shader is attached.

AttribGL
GLchar*[] AttribGL [@property getter]

Shader Attributes.

FragGL
GLchar* FragGL [@property getter]

Fragment Shader Id.

GeoGL
GLchar* GeoGL [@property getter]

Geometry Shader Id.

VertGL
GLchar* VertGL [@property getter]

Vertex Shader Id.

Meta