NAME
Qt::OpenGL::QGLBuffer
PUBLIC METHODS
- QGLBuffer()
- QGLBuffer(QGLBuffer::Type type)
- QGLBuffer(const QGLBuffer & other)
- ~QGLBuffer()
- void allocate(int count)
- void allocate(const void * data, int count)
- bool bind()
- GLuint bufferId()
- bool create()
- void destroy()
- bool isCreated()
- void * map(QGLBuffer::Access access)
- QGLBuffer & operator=(const QGLBuffer & other)
- bool read(int offset, void * data, int count)
- void release()
- static void release(QGLBuffer::Type type)
- void setUsagePattern(QGLBuffer::UsagePattern value)
- int size()
- QGLBuffer::Type type()
- bool unmap()
- QGLBuffer::UsagePattern usagePattern()
- void write(int offset, const void * data, int count)
ENUM VALUES
- VertexBuffer
- IndexBuffer
- PixelPackBuffer
- PixelUnpackBuffer
- StreamDraw
- StreamRead
- StreamCopy
- StaticDraw
- StaticRead
- StaticCopy
- DynamicDraw
- DynamicRead
- DynamicCopy
- ReadOnly
- WriteOnly
- ReadWrite
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.