A single texture holding multiple materials for efficient rendering.
A single texture holding multiple materials for efficient rendering This is an abstract class that mu...
float get_width_() const override
Return the width of this page (in pixels).
float get_height_() const override
Return the height of this page (in pixels).
std::shared_ptr< gui::material > add_material_(const gui::material &mat, const bounds2f &location) override
Adds a new material to this page, at the provided location.
atlas_page(renderer &rdr, material::filter filt)
Constructor.