#ifndef MBGL_MAP_RASTER_TILE_DATA #define MBGL_MAP_RASTER_TILE_DATA #include #include #include #include namespace mbgl { class Painter; class SourceInfo; class StyleLayer; class TexturePool; class RasterTileData : public TileData { friend class TileParser; public: RasterTileData(Tile::ID const &id, TexturePool &, const SourceInfo &, Environment &); ~RasterTileData(); void parse() override; void render(Painter &painter, const StyleLayer &layer_desc, const mat4 &matrix) override; bool hasData(StyleLayer const &layer_desc) const override; protected: StyleLayoutRaster layout; RasterBucket bucket; }; } #endif