![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Information about textures stored in atlas. More...
#include <TextureAtlas.hpp>
Public Attributes | |
math::iRect | m_region |
Region of the texture in the atlas. | |
graphics::TexelRegion | m_texel_region |
Texture region in OpenGL texels. | |
int | m_index = 0 |
Index of which atlas this sprite belongs to. | |
int | m_handle = 0 |
Texture handle this texture belongs to. | |
int | m_sheet_width = 0 |
Texture sheet width. | |
int | m_sheet_height = 0 |
Texture sheet height. | |
Information about textures stored in atlas.
Definition at line 51 of file TextureAtlas.hpp.
math::iRect galaxy::resource::TextureAtlas::Info::m_region |
Region of the texture in the atlas.
Definition at line 56 of file TextureAtlas.hpp.
graphics::TexelRegion galaxy::resource::TextureAtlas::Info::m_texel_region |
Texture region in OpenGL texels.
Definition at line 61 of file TextureAtlas.hpp.
int galaxy::resource::TextureAtlas::Info::m_index = 0 |
Index of which atlas this sprite belongs to.
Definition at line 66 of file TextureAtlas.hpp.
int galaxy::resource::TextureAtlas::Info::m_handle = 0 |
Texture handle this texture belongs to.
Definition at line 71 of file TextureAtlas.hpp.
int galaxy::resource::TextureAtlas::Info::m_sheet_width = 0 |
Texture sheet width.
Definition at line 76 of file TextureAtlas.hpp.
int galaxy::resource::TextureAtlas::Info::m_sheet_height = 0 |
Texture sheet height.
Definition at line 81 of file TextureAtlas.hpp.