Buffer Class


Public Functions

Buffer(QOpenGLBuffer::Type ty)
void bind()
void create()
QOpenGLBuffer createGL() const
void setUsage(QOpenGLBuffer::UsagePattern usage)
QOpenGLBuffer::Type type() const
void upload(QOpenGLBuffer b)

Member Function Documentation

Buffer::Buffer(QOpenGLBuffer::Type ty)

void Buffer::bind()

void Buffer::create()

QOpenGLBuffer Buffer::createGL() const

void Buffer::setUsage(QOpenGLBuffer::UsagePattern usage)

QOpenGLBuffer::Type Buffer::type() const

void Buffer::upload(QOpenGLBuffer b)

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.