BillboardShader

Undocumented in source.

Constructors

this
this(Shader shader)
Undocumented in source.

Members

Variables

billboardSize
int billboardSize;
Undocumented in source.

Inherited Members

From Shader

viewMatrix
int viewMatrix;

Shader uniforms locations

modelMatrix
int modelMatrix;
Undocumented in source.
projectionMatrix
int projectionMatrix;
Undocumented in source.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
link
void link()
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.

load
Shader load(string shaderName, bool linkProgram)

Loads a shader.

createShader
uint createShader(uint program, string fileName, uint type)

Generates and compiles a shader

programID
uint programID [@property getter]

Properties

vertexID
uint vertexID [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fragmentID
uint fragmentID [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
geometryID
uint geometryID [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta