UniformBuffer Class
(Qt3DRender::Render::UniformBuffer)Public Functions
| UniformBuffer() | |
| void | allocate(GraphicsContext *ctx, uint size, bool dynamic = true) |
| void | bind(GraphicsContext *ctx) |
| void | bindToUniformBlock(GraphicsContext *ctx, int bindingPoint) |
| GLuint | bufferId() const |
| void | create(GraphicsContext *ctx) |
| void | destroy(GraphicsContext *ctx) |
| bool | isBound() const |
| bool | isCreated() const |
| void | release(GraphicsContext *ctx) |
| void | update(GraphicsContext *ctx, const void *data, uint size, int offset = 0) |
Member Function Documentation
UniformBuffer::UniformBuffer()
Default constructs an instance of UniformBuffer.