18 #ifndef GLSTATS_RENDERER_H 19 #define GLSTATS_RENDERER_H 22 #include <GLStats/types.h> 39 GLSTATS_API
explicit Renderer(
const Renderer& from);
42 GLSTATS_API
virtual ~Renderer();
45 GLSTATS_API Renderer& operator=(
const Renderer& from);
48 GLSTATS_API
void setViewport(
const uint32_t width,
const uint32_t height);
56 GLSTATS_API
void draw(
const Data& data);
59 virtual void drawText(
const std::string& text) = 0;
62 detail::Renderer*
const impl_;
63 friend class detail::Renderer;
67 #endif // GLSTATS_RENDERER_H Defines export visibility macros for library GLStats.
Basic type definitions not provided by the operating system.