]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bufferable.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / bufferable.h
index 8e656246f32dab7bebc307fac698e8c66fa57f88..cbbde4e1b93f1e07266c097c150774f2b5621d3c 100644 (file)
@@ -55,6 +55,8 @@ public:
        /** Uploads new data into the buffer if necessary. */
        void refresh() const { if(buffer && dirty) upload_data(0); }
 
+       /** Returns an object which can be used to upload data to the buffer using
+       mapped memory. */
        AsyncUpdater *refresh_async() const;
 
 private:
@@ -88,7 +90,7 @@ protected:
 
 private:
        /** Uploads data to the buffer.  Receives pointer to mapped buffer memory as
-       parameter.  If null, buffer interface should be used instead. */
+       parameter, or null to use the buffer upload interface. */
        void upload_data(char *) const;
 };