- bindShaderProgram
void bindShaderProgram(uint programName)
Undocumented in source. Be warned that the author may not have intended to support it.
- bindShaderProgram
void bindShaderProgram(ShaderProgram program)
Undocumented in source. Be warned that the author may not have intended to support it.
- bindTexture
void bindTexture(Texture texture, uint textureUnit)
Undocumented in source.
- close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
- createShaderProgram
uint createShaderProgram(string vertexSource, string fragmentSource)
Undocumented in source. Be warned that the author may not have intended to support it.
- createTexture
Texture createTexture(string filename)
Undocumented in source.
- disableAlphaBlending
void disableAlphaBlending()
Undocumented in source. Be warned that the author may not have intended to support it.
- drawRect
void drawRect(Rect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawTexRect
void drawTexRect(Rect target, Rect source, Texture texture)
Draws textured rectangle to the current target
target - position and size on the screen.
source - position and size of rectangle in texture
- drawTexRectArray
void drawTexRectArray(TexRectArray array, ivec2 position, Texture texture, ShaderProgram customProgram)
Undocumented in source.
- drawText
void drawText(string text, uint x, uint y, uint font)
Undocumented in source. Be warned that the author may not have intended to support it.
- enableAlphaBlending
void enableAlphaBlending()
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(Rect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
- flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
- registerShaderProgram
uint registerShaderProgram(ShaderProgram program)
Undocumented in source. Be warned that the author may not have intended to support it.
- setClearColor
void setClearColor(Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- setColor
void setColor(Color newColor)
Undocumented in source. Be warned that the author may not have intended to support it.
- setColor
void setColor(Color4f newColor)
Undocumented in source. Be warned that the author may not have intended to support it.
- setProgram
void setProgram(uint program)
Undocumented in source. Be warned that the author may not have intended to support it.
- windowSize
uvec2 windowSize()
Undocumented in source. Be warned that the author may not have intended to support it.
- bindShaderProgram
void bindShaderProgram(uint shaderName)
Undocumented in source.
- bindShaderProgram
void bindShaderProgram(ShaderProgram program)
Undocumented in source.
- createTexture
Texture createTexture(string filename)
Undocumented in source.
- bindTexture
void bindTexture(Texture texture, uint textureUnit)
Undocumented in source.
- enableAlphaBlending
void enableAlphaBlending()
Undocumented in source.
- disableAlphaBlending
void disableAlphaBlending()
Undocumented in source.
- createShaderProgram
uint createShaderProgram(string vertexSource, string fragmentSource)
Undocumented in source.
- registerShaderProgram
uint registerShaderProgram(ShaderProgram program)
Undocumented in source.
- drawRect
void drawRect(Rect rect)
Undocumented in source.
- fillRect
void fillRect(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.
- setColor
void setColor(Color newColor)
Undocumented in source.
- setColor
void setColor(Color4f newColor)
Undocumented in source.
- setClearColor
void setClearColor(Color color)
Undocumented in source.
- windowSize
uvec2 windowSize()
Undocumented in source.
- flush
void flush()
Undocumented in source.
- close
void close()
Undocumented in source.