- blendOperation
void blendOperation(BlendFactor sfactor, BlendFactor dfactor)
Undocumented in source. Be warned that the author may not have intended to support it.
- circle
void circle(Vecf position, float radius, Color!ubyte color, bool isFill)
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- currentModelMatrix
float[4][4] currentModelMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
- currentModelMatrix
void currentModelMatrix(float[4][4] matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
- currentShader
void currentShader(Shader!Program program)
Undocumented in source. Be warned that the author may not have intended to support it.
- currentShader
Shader!Program currentShader()
Undocumented in source. Be warned that the author may not have intended to support it.
- drawning
void drawning()
Undocumented in source. Be warned that the author may not have intended to support it.
- getShader
Shader!Program getShader(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- line
void line(Vecf[2] points, Color!ubyte color)
Undocumented in source. Be warned that the author may not have intended to support it.
- point
void point(Vecf position, Color!ubyte color)
Undocumented in source. Be warned that the author may not have intended to support it.
- polygon
void polygon(Vecf position, Vecf[] points, Color!ubyte color, bool isFill)
Undocumented in source. Be warned that the author may not have intended to support it.
- rectangle
void rectangle(Vecf position, uint width, uint height, Color!ubyte color, bool isFill)
Undocumented in source. Be warned that the author may not have intended to support it.
- resetShader
void resetShader()
Undocumented in source. Be warned that the author may not have intended to support it.
- reshape
void reshape()
Undocumented in source. Be warned that the author may not have intended to support it.
- roundrect
void roundrect(Vecf position, uint width, uint height, float radius, Color!ubyte color, bool isFill)
Undocumented in source. Be warned that the author may not have intended to support it.
- setShader
void setShader(string name, Shader!Program program)
Undocumented in source. Be warned that the author may not have intended to support it.
- triangle
void triangle(Vecf[3] position, Color!ubyte color, bool isFill)
Undocumented in source. Be warned that the author may not have intended to support it.
- background
Color!ubyte background [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- background
Color!ubyte background [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- blendMode
BlendMode blendMode [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- camera
Camera camera [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- camera
Camera camera [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- type
RenderType type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- reshape
void reshape()
Updates the rendering surface if, for example, the window is resized.
- camera
Camera camera [@property setter]
- camera
Camera camera [@property getter]
- point
void point(Vecf vec, Color!ubyte color)
- line
void line(Vecf[2] points, Color!ubyte color)
- rectangle
void rectangle(Vecf position, uint width, uint height, Color!ubyte color, bool isFill)
- circle
void circle(Vecf position, float radius, Color!ubyte color, bool isFill)
- triangle
void triangle(Vecf[3] points, Color!ubyte color, bool isFill)
Drawing a triangle by its three vertices.
- roundrect
void roundrect(Vecf position, uint width, uint height, float radius, Color!ubyte color, bool isFill)
Draws a rectangle with rounded edges.
(Rendering is available only through hardware acceleration).
- polygon
void polygon(Vecf position, Vecf[] points, Color!ubyte color, bool isFill)
Drawing a polygon from an array of vertices.
- clear
void clear()
Cleans the surface by filling it with color.
- drawning
void drawning()
Outputs the buffer to the window.
- type
RenderType type()
Gives the type of render.
- blendMode
void blendMode(BlendMode mode)
Set the coloring method. Those. with or without alpha blending.
- blendOperation
void blendOperation(BlendFactor sfactor, BlendFactor dfactor)
- background
void background(Color!ubyte background)
Color!ubyte background()
The color to fill when clearing.
- setShader
void setShader(string name, Shader!Program program)
Memorize the shader for future reference.
- getShader
Shader!Program getShader(string name)
Pulls a shader from memory, getting it by name. Returns a null pointer
if no shader is found.
- currentShader
void currentShader(Shader!Program program)
The current shader for the next object rendering.
- currentShader
Shader!Program currentShader()
The current shader for the next object rendering.
- resetShader
void resetShader()
Reset the shader to main.
- currentModelMatrix
float[4][4] currentModelMatrix()
void currentModelMatrix(float[4][4] matrix)
- resetModelMatrix
void resetModelMatrix()
Reset current model matrix.
- draw
void draw(IDrawable drawable, Vecf position)
- drawEx
void drawEx(IDrawableEx drawable, Vecf position, float angle, Vecf center, Vecf size, ubyte alpha, Color!ubyte color)