Specialization of the BoundObjOps for Buffer >. More...
#include </home/chochlik/devel/oglplus/include/oglplus/bound/buffer.hpp>
Public Member Functions | |
GLint | GetIntParam (GLenum query) const |
bool | Mapped (void) const |
const BoundObjOps & | Resize (BufferSize size, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype > | |
const BoundObjOps & | Data (GLsizei count, const GLtype *data, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype , std::size_t Count> | |
const BoundObjOps & | Data (const GLtype(&data)[Count], BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype > | |
const BoundObjOps & | Data (const std::vector< GLtype > &data, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype , std::size_t N> | |
const BoundObjOps & | Data (const std::vector< Vector< GLtype, N > > &data, BufferUsage usage=BufferUsage::StaticDraw) const |
template<typename GLtype > | |
const BoundObjOps & | SubData (BufferSize offset, GLsizei count, const GLtype *data) const |
template<typename GLtype , std::size_t Count> | |
const BoundObjOps & | SubData (BufferSize offset, const GLtype(&data)[Count]) const |
template<typename GLtype > | |
const BoundObjOps & | SubData (BufferSize offset, const std::vector< GLtype > &data) const |
template<typename GLtype > | |
const BoundObjOps & | ClearData (PixelDataInternalFormat internal_format, PixelDataFormat format, const GLtype *data) const |
template<typename GLtype > | |
const BoundObjOps & | ClearSubData (PixelDataInternalFormat internal_format, BufferSize offset, BufferSize size, PixelDataFormat format, const GLtype *data) const |
const BoundObjOps & | Storage (BufferSize 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 BoundObjOps & | MakeResident (AccessSpecifier access) const |
const BoundObjOps & | MakeNonResident (void) const |
BufferGPUAddress | GPUAddress (void) const |
Specialization of the BoundObjOps for Buffer >.
This template implements wrappers around the member functions of Buffer, which have a BufferTarget parameter specifying the binding point on which they should operate.
Bitfield< BufferMapAccess > oglplus::BoundObjOps< tag::Buffer >::Access | ( | void | ) | const |
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::ClearData | ( | PixelDataInternalFormat | internal_format, |
PixelDataFormat | format, | ||
const GLtype * | data | ||
) | const |
Wrapper for Buffer::ClearData()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::ClearSubData | ( | PixelDataInternalFormat | internal_format, |
BufferSize | offset, | ||
BufferSize | size, | ||
PixelDataFormat | format, | ||
const GLtype * | data | ||
) | const |
Wrapper for Buffer::ClearSubData()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::Data | ( | GLsizei | count, |
const GLtype * | data, | ||
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
Wrapper for Buffer::Data()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::Data | ( | const GLtype(&) | data[Count], |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
Wrapper for Buffer::Data()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::Data | ( | const std::vector< GLtype > & | data, |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
Wrapper for Buffer::Data()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::Data | ( | const std::vector< Vector< GLtype, N > > & | data, |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
Wrapper for Buffer::Data()
GLint oglplus::BoundObjOps< tag::Buffer >::GetIntParam | ( | GLenum | query | ) | const |
Wrapper for Buffer::GetIntParam()
BufferGPUAddress oglplus::BoundObjOps< tag::Buffer >::GPUAddress | ( | void | ) | const |
Wrapper for Buffer::GPUAddress()
bool oglplus::BoundObjOps< tag::Buffer >::ImmutableStorage | ( | void | ) | const |
Wrapper for Buffer::ImmutableStorage()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::MakeNonResident | ( | void | ) | const |
Wrapper for Buffer::MakeNonResident()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::MakeResident | ( | AccessSpecifier | access | ) | const |
Wrapper for Buffer::MakeResident()
bool oglplus::BoundObjOps< tag::Buffer >::Mapped | ( | void | ) | const |
Wrapper for Buffer::Mapped()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::Resize | ( | BufferSize | size, |
BufferUsage | usage = BufferUsage::StaticDraw |
||
) | const |
Wrapper for Buffer::Resize()
GLsizei oglplus::BoundObjOps< tag::Buffer >::Size | ( | void | ) | const |
Wrapper for Buffer::Size()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::Storage | ( | BufferSize | size, |
const void * | data, | ||
Bitfield< BufferStorageBit > | flags | ||
) | const |
Wrapper for Buffer::Storage()
Bitfield< BufferStorageBit > oglplus::BoundObjOps< tag::Buffer >::StorageFlags | ( | void | ) | const |
Wrapper for Buffer::StorageFlags()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::SubData | ( | BufferSize | offset, |
GLsizei | count, | ||
const GLtype * | data | ||
) | const |
Wrapper for Buffer::SubData()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::SubData | ( | BufferSize | offset, |
const GLtype(&) | data[Count] | ||
) | const |
Wrapper for Buffer::SubData()
const BoundObjOps& oglplus::BoundObjOps< tag::Buffer >::SubData | ( | BufferSize | offset, |
const std::vector< GLtype > & | data | ||
) | const |
Wrapper for Buffer::SubData()
BufferUsage oglplus::BoundObjOps< tag::Buffer >::Usage | ( | void | ) | const |
Wrapper for Buffer::Usage()