X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fgraphicsbuffer.h;h=b102c5195e94abe197d81d233403e0621dd48808;hp=fd897712c7d4c00a3dda86475bad1f05b2508bf7;hb=ac518ad085eb5bc84647e4aebe0c5ff06640cd0d;hpb=55790e6cc129dcac3b3d001c7f5c74c288642123 diff --git a/src/graphicsbuffer.h b/src/graphicsbuffer.h index fd89771..b102c51 100644 --- a/src/graphicsbuffer.h +++ b/src/graphicsbuffer.h @@ -63,6 +63,7 @@ namespace IPDF GLuint GetHandle() const { return m_buffer_handle; } void Bind() const; + void BindRange(size_t start, size_t size) const; private: bool RecreateBuffer(const void *data = NULL); GLuint m_buffer_handle;