86 std::vector<vertex_buffer*>
vbos;
88 std::vector<attribute_array>
aas;
97 const std::vector<textured_material*>& get_materials()
const;
99 const std::vector<vertex_buffer*>& get_vbos()
const;
101 const std::vector<attribute_array>& get_aas()
const;
103 const std::vector<texture*>& get_textures()
const;
105 const std::vector<draw_call>& get_draw_calls()
const;
107 std::vector<textured_material*>& ref_materials();
109 std::vector<vertex_buffer*>& ref_vbos();
111 std::vector<attribute_array>& ref_aas();
113 std::vector<texture*>& ref_textures();
115 std::vector<draw_call>& ref_draw_calls();
119 void draw_all(
context& ctx,
bool skip_opaque =
false,
bool skip_blended =
false,
bool use_materials =
true);
base class for all drawables, which is independent of the used rendering API.