- bindShaderProgram
void bindShaderProgram(uint shaderName)
Undocumented in source.
- bindShaderProgram
void bindShaderProgram(ShaderProgram program)
Undocumented in source.
- bindTexture
void bindTexture(Texture texture, uint textureUnit)
Undocumented in source.
- close
void close()
Undocumented in source.
- createShaderProgram
uint createShaderProgram(string vertexSource, string fragmentSource)
Undocumented in source.
- createTexture
Texture createTexture(string filename)
Undocumented in source.
- disableAlphaBlending
void disableAlphaBlending()
Undocumented in source.
- drawRect
void drawRect(Rect rect)
Undocumented in source.
- drawTexRect
void drawTexRect(Rect target, ivec2 sourcePos, Texture texture)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawTexRect
void drawTexRect(Rect target, Rect source, Texture texture)
Undocumented in source.
- drawTexRectArray
void drawTexRectArray(TexRectArray array, ivec2 position, Texture texture, ShaderProgram customProgram)
Undocumented in source.
- enableAlphaBlending
void enableAlphaBlending()
Undocumented in source.
- fillRect
void fillRect(Rect rect)
Undocumented in source.
- flush
void flush()
Undocumented in source.
- registerShaderProgram
uint registerShaderProgram(ShaderProgram program)
Undocumented in source.
- setClearColor
void setClearColor(Color color)
Undocumented in source.
- setColor
void setColor(Color newColor)
Undocumented in source.
- setColor
void setColor(Color4f newColor)
Undocumented in source.
- windowSize
uvec2 windowSize()
Undocumented in source.