#pragma once #include #include #include #include #include #include using namespace charcoal; using namespace charcoal::builtin; // TODO: Test out the ImageFont image generation class MyTextTestScene : public Scene { public: MyTextTestScene(Application& application); void init() override; void use() override {} void unuse() override {} void update(float delta_time, clock_t clock) override; void prerender() override; void render() override; private: image_loader::ImageRGBA m_font_image; ImageFont m_font; image_loader::ImageRGBA m_text_image; textured::Renderable m_text; builtin::Camera2D m_camera; textured::Batch m_text_batch; textured::Pipeline m_pipeline; Poseable m_text_pose; };