1#ifndef GLK_DRAWABLE_CONTAINER_HPP
2#define GLK_DRAWABLE_CONTAINER_HPP
17 using Ptr = std::shared_ptr<Drawable>;
18 using ConstPtr = std::shared_ptr<const Drawable>;
22 DrawableContainer(std::initializer_list<glk::Drawable::ConstPtr> init,
bool skip_model_matrix_setting =
true);
Definition drawable_container.hpp:15
void push_back(const glk::Drawable::ConstPtr &drawable)
DrawableContainer(std::initializer_list< glk::Drawable::ConstPtr > init, bool skip_model_matrix_setting=true)
DrawableContainer(bool skip_model_matrix_setting=true)
std::vector< std::pair< std::optional< guik::ShaderSetting >, glk::Drawable::ConstPtr > > drawables
Definition drawable_container.hpp:35
std::shared_ptr< const Drawable > ConstPtr
Definition drawable_container.hpp:18
virtual ~DrawableContainer()
bool skip_model_matrix
Definition drawable_container.hpp:34
virtual void draw(glk::GLSLShader &shader) const override
std::shared_ptr< Drawable > Ptr
Definition drawable_container.hpp:17
void push_back(const glk::Drawable::ConstPtr &drawable, const guik::ShaderSetting &shader_setting)
Definition drawable.hpp:12
std::shared_ptr< const Drawable > ConstPtr
Definition drawable.hpp:15
Definition glsl_shader.hpp:20
Definition async_buffer_copy.hpp:6
Definition drawable_container.hpp:9
Shader setting class that holds rendering settings.
Definition shader_setting.hpp:187