Specialization of the BoundTemplate for BufferOps, implements Bound < Buffer >. More...
#include </home/chochlik/devel/oglplus/include/oglplus/bound/buffer.hpp>
Inherits Base< BaseParam, BufferOps >.
Public Member Functions | |
bool | Mapped (void) const |
template<typename GLtype > | |
const BoundTemplate & | Data (GLsizei count, const GLtype *data, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype , std::size_t Count> | |
const BoundTemplate & | Data (const GLtype(&data)[Count], BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype > | |
const BoundTemplate & | Data (const std::vector< GLtype > &data, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype , std::size_t N> | |
const BoundTemplate & | Data (const std::vector< Vector< GLtype, N > > &data, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype > | |
const BoundTemplate & | SubData (GLintptr offset, GLsizei count, const GLtype *data) const |
template<typename GLtype , std::size_t Count> | |
const BoundTemplate & | SubData (GLintptr offset, const GLtype(&data)[Count]) const |
template<typename GLtype > | |
const BoundTemplate & | SubData (GLintptr offset, const std::vector< GLtype > &data) const |
template<typename GLtype > | |
const BoundTemplate & | ClearData (PixelDataInternalFormat internal_format, PixelDataFormat format, const GLtype *data) const |
template<typename GLtype > | |
const BoundTemplate & | ClearSubData (PixelDataInternalFormat internal_format, GLintptr offset, GLsizeiptr size, PixelDataFormat format, const GLtype *data) const |
template<typename GLtype > | |
const BoundTemplate & | Storage (GLsizeiptr size, const void *data, Bitfield< BufferStorageBit > flags) const |
bool | ImmutableStorage (void) const |
Bitfield< BufferStorageBit > | StorageFlags (void) const |
GLsizei | Size (void) const |
BufferUsage | Usage (void) const |
Bitfield< BufferMapAccess > | Access (void) const |
const BoundTemplate & | MakeResident (AccessSpecifier access) const |
const BoundTemplate & | MakeNonResident (void) const |
BufferGPUAddress | GPUAddress (void) const |
Specialization of the BoundTemplate for BufferOps, implements Bound < Buffer >.
This template implements wrappers around the member functions of Buffer, which have a BufferOps::Target parameter specifying the binding point on which they should operate.
Bitfield< BufferMapAccess > oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Access | ( | void | ) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::ClearData | ( | PixelDataInternalFormat | internal_format, |
PixelDataFormat | format, | ||
const GLtype * | data | ||
) | const |
Wrapper for Buffer::ClearData()
References oglplus::BufferOps::ClearData().
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::ClearSubData | ( | PixelDataInternalFormat | internal_format, |
GLintptr | offset, | ||
GLsizeiptr | size, | ||
PixelDataFormat | format, | ||
const GLtype * | data | ||
) | const |
Wrapper for Buffer::ClearSubData()
References oglplus::BufferOps::ClearSubData().
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Data | ( | GLsizei | count, |
const GLtype * | data, | ||
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Data | ( | const GLtype(&) | data[Count], |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Data | ( | const std::vector< GLtype > & | data, |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Data | ( | const std::vector< Vector< GLtype, N > > & | data, |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
BufferGPUAddress oglplus::BoundTemplate< Base, BaseParam, BufferOps >::GPUAddress | ( | void | ) | const |
Wrapper for Buffer::GPUAddress()
References oglplus::BufferOps::GPUAddress().
bool oglplus::BoundTemplate< Base, BaseParam, BufferOps >::ImmutableStorage | ( | void | ) | const |
Wrapper for Buffer::ImmutableStorage()
References oglplus::BufferOps::ImmutableStorage().
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::MakeNonResident | ( | void | ) | const |
Wrapper for Buffer::MakeNonResident()
References oglplus::BufferOps::MakeNonResident().
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::MakeResident | ( | AccessSpecifier | access) | const |
Wrapper for Buffer::MakeResident()
References oglplus::BufferOps::MakeResident().
bool oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Mapped | ( | void | ) | const |
GLsizei oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Size | ( | void | ) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Storage | ( | GLsizeiptr | size, |
const void * | data, | ||
Bitfield< BufferStorageBit > | flags | ||
) | const |
Bitfield< BufferStorageBit > oglplus::BoundTemplate< Base, BaseParam, BufferOps >::StorageFlags | ( | void | ) | const |
Wrapper for Buffer::StorageFlags()
References oglplus::BufferOps::StorageFlags().
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::SubData | ( | GLintptr | offset, |
GLsizei | count, | ||
const GLtype * | data | ||
) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::SubData | ( | GLintptr | offset, |
const GLtype(&) | data[Count] | ||
) | const |
const BoundTemplate& oglplus::BoundTemplate< Base, BaseParam, BufferOps >::SubData | ( | GLintptr | offset, |
const std::vector< GLtype > & | data | ||
) | const |
BufferUsage oglplus::BoundTemplate< Base, BaseParam, BufferOps >::Usage | ( | void | ) | const |