Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
GefExtensions::PrimitiveRenderer Class Reference
Collaboration diagram for GefExtensions::PrimitiveRenderer:

Public Member Functions

 PrimitiveRenderer (gef::Platform &platform, UInt32 max_num_lines=kDefaultMaxNumLines, UInt32 max_num_triangles=kDefaultMaxNumTriangles)
 
void Render (gef::Renderer3D &renderer_3d)
 
void Reset ()
 
void AddLine (gef::Vector4 const &start, gef::Vector4 const &end, gef::Colour const &colour)
 
void AddTriangle (gef::Vector4 const &v0, gef::Vector4 const &v1, gef::Vector4 const &v2, gef::Colour const &colour)
 
void DrawLines (gef::Renderer3D &renderer3D)
 
void DrawTriangles (gef::Renderer3D &renderer3D)
 

Static Public Attributes

static int constexpr kDefaultMaxNumLines = 512
 
static int constexpr kDefaultMaxNumTriangles = 512
 

The documentation for this class was generated from the following files: