7#include <hpp/string_view.hpp>
27 auto data_get_or_emplace(
const hpp::string_view&
id, uint32_t default_val = 0) -> uint32_t&;
28 auto data_get(
const hpp::string_view&
id, uint32_t default_val = 0)
const -> uint32_t;
31 std::map<std::string, texture::ptr, std::less<>> textures_;
32 std::map<std::string, frame_buffer::ptr, std::less<>> fbos_;
33 std::map<std::string, uint32_t, std::less<>> data_;
std::shared_ptr< frame_buffer > ptr
auto fbo_safe_get(const hpp::string_view &id) const -> const frame_buffer::ptr &
void tex_remove(const hpp::string_view &id)
auto data_get(const hpp::string_view &id, uint32_t default_val=0) const -> uint32_t
auto fbo_get_or_emplace(const hpp::string_view &id) -> frame_buffer::ptr &
auto fbo_get(const hpp::string_view &id) const -> const frame_buffer::ptr &
auto tex_get(const hpp::string_view &id) const -> const texture::ptr &
auto tex_safe_get(const hpp::string_view &id) const -> const texture::ptr &
void fbo_remove(const hpp::string_view &id)
auto tex_get_or_emplace(const hpp::string_view &id) -> texture::ptr &
auto data_get_or_emplace(const hpp::string_view &id, uint32_t default_val=0) -> uint32_t &