8#include "galaxy/core/ServiceLocator.hpp"
26 this->
m_batch = std::move(t.m_batch);
28 this->
m_tint = std::move(t.m_tint);
36 this->
m_batch = std::move(t.m_batch);
38 this->
m_tint = std::move(t.m_tint);
51 auto& cache = core::ServiceLocator<resource::Textures>::ref();
52 auto tex = cache.get(texture);
#define GALAXY_LOG(level, msg,...)
Rendering data for a single level/map in a LDTK world.
graphics::VertexBatch m_batch
Vertex data batch.
glm::vec4 m_tint
Opacity/tinting.
TileMap & operator=(TileMap &&)
Move assignment operator.
graphics::Texture2D * get_texture()
Get texture.
void set_texture(const std::string &texture)
Sets the texture and vertex data.
graphics::Texture2D * m_texture
Tileset.
int m_render_layer
Rendering layer.