9 auto it = textures_.find(
id);
10 if(it != textures_.end())
15 return textures_[std::string(
id)];
20 const auto& tex = tex_safe_get(
id);
21 assert(tex !=
nullptr &&
"Trying to get non existent element");
28 auto it = textures_.find(
id);
29 if(it != textures_.end())
41 auto it = fbos_.find(
id);
47 return fbos_[std::string(
id)];
52 const auto& fbo = fbo_safe_get(
id);
53 assert(fbo !=
nullptr &&
"Trying to get non existent element");
59 auto it = fbos_.find(
id);
std::shared_ptr< texture > ptr
auto fbo_safe_get(const hpp::string_view &id) const -> const frame_buffer::ptr &
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 &
auto tex_get_or_emplace(const hpp::string_view &id) -> texture::ptr &