UniformBuffer Class

(Qt3D::Render::UniformBuffer)

Public Functions

UniformBuffer()
void allocate(QGraphicsContext * ctx, uint size, bool dynamic = true)
void bind(QGraphicsContext * ctx)
void bindToUniformBlock(QGraphicsContext * ctx, int bindingPoint)
GLuint bufferId() const
void create(QGraphicsContext * ctx)
void destroy(QGraphicsContext * ctx)
bool isCreated() const
void update(QGraphicsContext * ctx, const void * data, uint size, int offset = 0)

Member Function Documentation

UniformBuffer::UniformBuffer()

void UniformBuffer::allocate(QGraphicsContext * ctx, uint size, bool dynamic = true)

void UniformBuffer::bind(QGraphicsContext * ctx)

void UniformBuffer::bindToUniformBlock(QGraphicsContext * ctx, int bindingPoint)

GLuint UniformBuffer::bufferId() const

void UniformBuffer::create(QGraphicsContext * ctx)

void UniformBuffer::destroy(QGraphicsContext * ctx)

bool UniformBuffer::isCreated() const

void UniformBuffer::update(QGraphicsContext * ctx, const void * data, uint size, int offset = 0)

© 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.