Vivid
|
Handles all the rendering of the vertices. More...
#include <Renderer.h>
Static Public Member Functions | |
static void | Draw (Ref< VertexArray > va, unsigned int indexCount, unsigned int instanceCount=1) |
Initializes the Renderer. | |
static void | DrawLine (Ref< VertexArray > va, unsigned int vertexCount) |
static void | Clear () |
Handles all the rendering of the vertices.
Renderer is a class that contains the functions to draw the vertices of a mesh.
Definition at line 17 of file Renderer.h.
|
static |
Definition at line 12 of file Renderer.cpp.
|
static |
Initializes the Renderer.
Initializes the Renderer by enabling the depth test and the blending.
va | The VertexArray to draw. |
indexCount | The number of indices to draw. |
instanceCount | The number of instances to draw. Default is 1. |
Definition at line 5 of file Renderer.cpp.