X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fbatch.h;fp=source%2Fcore%2Fbatch.h;h=e03435550aa48857632aff62d4624eb69f871866;hb=9786a581e0b1b66646ab3def3c49aa3a6360aa36;hp=41dac24a1a57b8bef3abb4a657ee9e88572c9001;hpb=052b85720688900bc36f8844a94269cb1c0cdd52;p=libs%2Fgl.git diff --git a/source/core/batch.h b/source/core/batch.h index 41dac24a..e0343555 100644 --- a/source/core/batch.h +++ b/source/core/batch.h @@ -22,6 +22,8 @@ class. */ class Batch: public Bufferable { + friend class Commands; + public: class Loader: public DataFile::ObjectLoader { @@ -44,10 +46,8 @@ public: ~Batch(); PrimitiveType get_type() const { return prim_type; } - unsigned get_gl_primitive_type() const { return gl_prim_type; } void set_index_type(DataType); DataType get_index_type() const { return index_type; } - unsigned get_gl_index_type() const { return gl_index_type; } Batch &append(unsigned); Batch &append(const std::vector &);