|
| Buffer (size_t size, BufferUsage usage=BufferUsage::Static) |
|
| Buffer (BufferUsage usage) |
|
| Buffer (std::shared_ptr< BufferRAMPrecision< T, Target > > repr) |
|
| Buffer (const Buffer< T, Target > &rhs)=default |
|
Buffer< T, Target > & | operator= (const Buffer< T, Target > &that)=default |
|
virtual Buffer< T, Target > * | clone () const override |
|
BufferRAMPrecision< T, Target > * | getEditableRAMRepresentation () |
|
const BufferRAMPrecision< T, Target > * | getRAMRepresentation () const |
|
virtual void | append (const BufferBase &) override |
|
void | append (const Buffer< T, Target > &) |
|
virtual Document | getInfo () const override |
|
| BufferBase (size_t defaultSize, const DataFormatBase *defaultFormat, BufferUsage usage, BufferTarget target) |
|
| BufferBase (const BufferBase &rhs)=default |
|
BufferBase & | operator= (const BufferBase &that)=default |
|
void | setSize (size_t size) |
|
size_t | getSize () const |
|
bool | empty () const |
|
size_t | getSizeInBytes () const |
|
BufferUsage | getBufferUsage () const |
|
BufferTarget | getBufferTarget () const |
|
void | setDataFormat (const DataFormatBase *format) |
|
const DataFormatBase * | getDataFormat () const |
|
const T * | getRepresentation () const |
|
std::shared_ptr< const T > | getRepresentationShared () const |
|
T * | getEditableRepresentation () |
|
bool | hasRepresentation () const |
|
bool | hasRepresentations () const |
|
void | addRepresentation (std::shared_ptr< BufferRepresentation > representation) |
|
void | removeRepresentation (const BufferRepresentation *representation) |
|
void | removeOtherRepresentations (const BufferRepresentation *representation) |
|
void | clearRepresentations () |
|
void | invalidateAllOther (const BufferRepresentation *repr) |
|
void | updateResource (const ResourceMeta &meta) const |
|