#pragma once #include #include #include #include "TexturedTypes.h" namespace charcoal { namespace builtin { namespace textured { class Renderable : public RenderableT { public: Renderable( const Mesh* mesh, const DrawMode& draw_mode, Texture* texture, Sampler* sampler ) : RenderableT(mesh, draw_mode), m_p_texture(texture), m_p_sampler(sampler) {} Texture* get_texture() const { return m_p_texture; } Sampler* get_sampler() const { return m_p_sampler; } private: Texture* m_p_texture; Sampler* m_p_sampler; }; } } }