25 #ifndef CPP3DS_DRAWABLE_HPP
26 #define CPP3DS_DRAWABLE_HPP
31 #include <cpp3ds/Graphics/RenderStates.hpp>
virtual ~Drawable()
Virtual destructor.
Abstract base class for objects that can be drawn to a render target.
virtual void draw(RenderTarget &target, RenderStates states) const =0
Draw the object to a render target.
Base class for all render targets (window, texture, ...)
Define the states used for drawing to a RenderTarget.