|
Blender V5.0
|
#include <DRW_gpu_wrapper.hh>
Inherits blender::draw::detail::StorageCommon< T, len, device_only >.
Inherited by blender::draw::StorageVectorBuffer< IrradianceBrickPacked, 16 >, blender::draw::StorageVectorBuffer< ShadowTileMapData, SHADOW_MAX_TILEMAP >, blender::draw::StorageVectorBuffer< blender::VecBase< float, 4 > >, blender::draw::StorageVectorBuffer< VertexData >, blender::draw::StorageVectorBuffer< InstanceDataT >, blender::draw::StorageVectorBuffer< uint32_t >, blender::draw::StorageVectorBuffer< blender::eevee::Material >, and blender::draw::StorageVectorBuffer< T, len >.
Public Member Functions | |
| StorageArrayBuffer (const char *name=nullptr) | |
| ~StorageArrayBuffer () | |
| void | resize (int64_t new_size) |
| T & | get_or_resize (int64_t index) |
| void | trim_to_next_power_of_2 (int64_t required_size) |
| int64_t | size () const |
| MutableSpan< T > | as_span () const |
| Public Member Functions inherited from blender::draw::detail::StorageCommon< T, len, device_only > | |
| StorageCommon (const char *name=nullptr) | |
| ~StorageCommon () | |
| void | push_update () |
| void | clear_to_zero () |
| void | async_flush_to_host () |
| void | read () |
| operator gpu::StorageBuf * () const | |
| gpu::StorageBuf ** | operator& () |
| Public Member Functions inherited from blender::draw::detail::DataBuffer< T, len, false > | |
| const T & | operator[] (int64_t index) const |
| const T * | data () const |
| const T * | begin () const |
| const T * | end () const |
| operator Span< T > () const | |
Static Public Member Functions | |
| 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. |
| device_only | True if created on device and no memory host memory is allocated. |
Definition at line 332 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 334 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::StorageVectorBuffer< IrradianceBrickPacked, 16 >::StorageVectorBuffer().
|
inline |
Definition at line 339 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 394 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 365 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 347 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::StorageVectorBuffer< IrradianceBrickPacked, 16 >::append_as(), blender::draw::StorageArrayBuffer< float2, 16 >::get_or_resize(), blender::draw::test_eevee_surfel_list(), and blender::draw::StorageArrayBuffer< float2, 16 >::trim_to_next_power_of_2().
|
inline |
Definition at line 389 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::test_eevee_shadow_free().
|
inlinestatic |
Definition at line 399 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::StorageVectorBuffer< IrradianceBrickPacked, 16 >::swap().
|
inline |
Definition at line 379 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::StorageVectorBuffer< IrradianceBrickPacked, 16 >::clear_and_trim().