#pragma once #include #include "Image.h" namespace RenderData { struct SpriteRegion { const Image* atlas; int32_t x; int32_t y; int32_t width; int32_t height; SpriteRegion() : atlas(nullptr), x(0), y(0), width(0), height(0) {} SpriteRegion(const Image* atlas, int32_t x, int32_t y, int32_t width, int32_t height) : atlas(atlas), x(x), y(y), width(width), height(height) {} }; }