]> git.tdb.fi Git - libs/gl.git/blobdiff - source/primitivebuilder.h
Support specifying elements in PrimitiveBuilder
[libs/gl.git] / source / primitivebuilder.h
index cfe0a02c8bbea18cf04ba114d8999c3514f70009..ee8a8477c0cb9fac49e673502e067fd936615948 100644 (file)
@@ -35,11 +35,13 @@ protected:
 public:
        void begin(PrimitiveType);
        void end();
+       void element(unsigned);
        PrimitiveType get_type() const;
 protected:
        virtual void vertex_(float, float, float, float);
        virtual void begin_() =0;
        virtual void end_() =0;
+       virtual void element_(unsigned) =0;
 };
 
 } // namespace GL