|
Blender V5.0
|
#include <DRW_gpu_wrapper.hh>
Inherits blender::draw::StorageArrayBuffer< T, len, device_only >.
Static Public Member Functions | |
| static void | swap (StorageVectorBuffer &a, StorageVectorBuffer &b) |
| Static Public Member Functions inherited from blender::draw::StorageArrayBuffer< T, len, device_only > | |
| static void | swap (StorageArrayBuffer &a, StorageArrayBuffer &b) |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::draw::detail::DataBuffer< T, len, false > | |
| BLI_STATIC_ASSERT (((sizeof(T) *len) % 16)==0, "Buffer size need to be aligned to size of float4.") | |
| Protected Attributes inherited from blender::draw::detail::StorageCommon< T, len, device_only > | |
| gpu::StorageBuf * | ssbo_ |
| const char * | name_ = typeid(T).name() |
| Protected Attributes inherited from blender::draw::detail::DataBuffer< T, len, false > | |
| T * | data_ |
| int64_t | len_ |
| T | Type of the values stored in this uniform buffer. |
| len | The number of values that can be stored in this storage buffer at creation. |
Definition at line 413 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 419 of file DRW_gpu_wrapper.hh.
|
default |
|
inline |
Insert a new element at the end of the vector. This might cause a reallocation with the capacity is exceeded.
This is similar to std::vector::push_back.
Definition at line 446 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 450 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 454 of file DRW_gpu_wrapper.hh.
|
inline |
Set item count to zero but does not free memory or resize the buffer.
Definition at line 425 of file DRW_gpu_wrapper.hh.
|
inline |
Set item count to zero and trim the buffer if current size is much larger than the current item count.
Definition at line 434 of file DRW_gpu_wrapper.hh.
|
delete |
|
inline |
Definition at line 464 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 477 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 472 of file DRW_gpu_wrapper.hh.
|
inlinestatic |
Definition at line 485 of file DRW_gpu_wrapper.hh.