4 #include "DisplayObject.h"
5 #include <rag/Platform.h>
25 Bitmap(
const std::string& path);
35 virtual void render()
override;
glm::vec4 uv
Texture coordinates. used with texture atlases.
Definition: Bitmap.h:46
Bitmap(const std::string &path)
Create a Bitmap using an image in a given path.
Definition: Bitmap.cpp:12
Image * image
Shared image.
Definition: Bitmap.h:36
Core object used to display things in screen.
Definition: DisplayObject.h:23
virtual void render() override
Renders the DisplayObject in the screen.
Definition: Bitmap.cpp:41
Provides the ability to show images.
Definition: Bitmap.h:16
Image object.
Definition: Image.h:19
virtual void prerender() override
Temporal transition to new automatic batch render.
Definition: Bitmap.h:36