8#ifndef GALAXY_COMPONENTS_TILEMAP_HPP_
9#define GALAXY_COMPONENTS_TILEMAP_HPP_
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.
TileMap & operator=(const TileMap &)=delete
Copy assignment operator.
TileMap(const TileMap &)=delete
Copy constructor.
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.
Batches together vertex data to reduce draw calls.