smk::Drawable Class Referenceabstract

#include <Drawable.hpp>

Inheritance diagram for smk::Drawable:

Interface for class that can be draw to a smk::RenderTarget. More...

Description

Interface for class that can be draw to a smk::RenderTarget.

Definition at line 14 of file Drawable.hpp.

Public Member Functions

virtual void Draw (RenderTarget &target, RenderState state) const =0
 

Member Function Documentation

◆ Draw()

virtual void smk::Drawable::Draw ( RenderTarget target,
RenderState  state 
) const
pure virtual

Draw the object on a RenderTarget.

Parameters
targetA RenderTarget to be drawn on.
stateThe RenderState to derive from.

Implemented in smk::Text, and smk::TransformableBase.


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