20 virtual void draw(GLenum mode) = 0;
26 virtual void drawInstance(
const std::string &instanceName, GLenum mode) = 0;
virtual void drawInstance(const std::string &instanceName, GLenum mode)=0
Draws an instance of the object to the screen.
An interface for drawable objects.
Definition: IDrawable.h:9
std::shared_ptr< IDrawable > DrawablePtr
Definition: IDrawable.h:30
virtual void draw(GLenum mode)=0
Draws an object to the screen.
virtual ~IDrawable()
Virtual destructor.
Definition: IDrawable.h:15