All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::Renderer Class Reference

#include <gr_renderable.h>

Inheritance diagram for kjb::Renderer:
kjb::Generic_renderer kjb::Renderable

Public Member Functions

 Renderer ()
 Renderer (const Generic_renderable *model)
virtual void render (const Generic_renderable &model) const
- Public Member Functions inherited from kjb::Generic_renderer
 Generic_renderer ()
 Generic_renderer (const Generic_renderable *model)
virtual void render () const
 Renders this object with GL. More...
virtual void operator() (const Generic_renderable &model) const
- Public Member Functions inherited from kjb::Renderable
virtual ~Renderable ()
 Deletes this Renderable. More...

Additional Inherited Members

- Protected Attributes inherited from kjb::Generic_renderer
const Generic_renderablem_model

Detailed Description

Allows us to pass the default rendering technique to a generic rendering function.

Kyle Simek

Constructor & Destructor Documentation

kjb::Renderer::Renderer ( )

Note: caller is responsible for deleting model

kjb::Renderer::Renderer ( const Generic_renderable model)

Member Function Documentation

virtual void kjb::Renderer::render ( const Generic_renderable model) const

Implements kjb::Generic_renderer.

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