cubos::core::gl::impl::ConstantBuffer class

Abstract constant buffer.

Public functions

void fill(const void* data, std::size_t size) pure virtual
Fills the buffer with the given data.

Function documentation

void cubos::core::gl::impl::ConstantBuffer::fill(const void* data, std::size_t size) pure virtual

Fills the buffer with the given data.

Parameters
data Pointer to data.
size Data size in bytes.