Expand description
The CGL Widgets Module. This is powered by th epowerful cgl widgets batch renderer.
Functions
- Adds an arc to the current frame.
- Adds a character to the current frame.
- Adds a circle to the current frame.
- Adds a circle to the current frame.
- Adds a circle to the current frame.
- Adds a circle to the current frame.
- Adds a cubic bezier curve to the current frame.
- Adds a cubic bezier curve to the current frame.
- Adds a cubic bezier curve to the current frame.
- Adds a cubic bezier curve to the current frame using points.
- Arguments
- Adds a line to the current frame.
- Adds a line to the current frame.
- Adds an oval to the current frame.
- Adds an oval to the current frame.
- Adds an oval to the current frame.
- Adds a quad to the current frame.
- Adds a quad to the current frame.
- Adds a rectangle to the current frame.
- Adds a rectangle to the current frame.
- Adds a rounded rectangle to the current frame.
- Adds a string to the current frame.
- Adds a string to the current frame with a specified font.
- Adds a triangle to the current frame.
- Adds a vertex with the given position to the current batch.
- Adds a vertex with the given position to the current batch.
- Adds a vertex with the given position and texture coordinate to the current batch.
- Adds a vertex with the given position and texture coordinate to the current batch.
- Adds a vertex with the given position and texture coordinate to the current batch.
- Adds a vertex with the given position and texture coordinate to the current batch.
- This enables the transformation application on the CPU.
- This enables the transformation application on the GPU.
- Begins a new CGL frame
- Begins a new CGL frame with a global scale and offset.
- Disables diffuse shading for the current frame.
- Enables diffuse shading for the current frame.
- Ends the current CGL frame
- Flushes all the vertices added to the current batch.
- Flushes all the vertices added to the current batch if required.
- Initializes the CGL widgets
- Sets the fill color for the current frame.
- Sets the fill color for the current frame.
- Sets the fill mode for the current frame.
- Sets the font texture for the current frame.
- Sets the mask rendering mask for the current frame.
- Sets the mask rendering mask for the current frame.
- Sets the model matrix for the current frame.
- Sets the projection matrix for the current frame.
- Sets the stroke color for the current frame.
- Sets the stroke color for the current frame.
- Sets the stroke thickness for the current frame.
- Sets the texture for the current frame.
- Sets the texture coordinate scale and offset for the current frame.
- Sets the view matrix for the current frame.
- Shuts down the CGL widgets