|
| 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 |
|
|
using | self |
|
using | repr |
|
static constexpr uvec3 | colorCode {255, 113, 0} |
|
static constexpr std::string_view | classIdentifier {"org.inviwo.Buffer"} |
|
static constexpr std::string_view | dataName {"Buffer"} |
|
| Data (const Data< BufferBase, BufferRepresentation > &rhs) |
|
| Data (Data< BufferBase, BufferRepresentation > &&rhs)=default |
|
Data< BufferBase, BufferRepresentation > & | operator= (const Data< BufferBase, BufferRepresentation > &that) |
|
Data< BufferBase, BufferRepresentation > & | operator= (Data< BufferBase, BufferRepresentation > &&that)=default |
|
decltype(auto) | getLastOr (F &&f, T &&fallback) const |
|
void | setLastAndInvalidateOther (F &&f, T &&value) |
|
size_t | defaultSize_ |
|
BufferUsage | usage_ |
|
BufferTarget | target_ |
|
const DataFormatBase * | defaultDataFormat_ |
|