|
Blender V5.3
|
#include <vk_render_graph_node.hh>
Public Member Functions | |
| T & | alloc (int64_t &r_index) |
| void | reset () |
| T & | operator[] (int64_t index) |
| const T & | operator[] (int64_t index) const |
| int64_t | size () const |
| int64_t | capacity () const |
Public Attributes | |
| Vector< T > | data |
| int64_t | next = 0 |
Block-allocated storage for node data.
Uses an index counter (next) instead of clear + append. On reset, only the counter resets to 0 (memory is preserved and reused). When storage is full, grows by 1024-element blocks.
Definition at line 50 of file vk_render_graph_node.hh.
|
inline |
Definition at line 54 of file vk_render_graph_node.hh.
|
inline |
Definition at line 84 of file vk_render_graph_node.hh.
References data.
|
inline |
Definition at line 69 of file vk_render_graph_node.hh.
|
inline |
Definition at line 74 of file vk_render_graph_node.hh.
|
inline |
Definition at line 64 of file vk_render_graph_node.hh.
References next.
Referenced by blender::gpu::render_graph::VKRenderGraphStorage::reset().
|
inline |
Definition at line 79 of file vk_render_graph_node.hh.
References next.
| Vector<T> blender::gpu::render_graph::VKNodeStorage< T, BlockSize >::data |
Definition at line 51 of file vk_render_graph_node.hh.
Referenced by alloc(), capacity(), operator[](), and operator[]().
| int64_t blender::gpu::render_graph::VKNodeStorage< T, BlockSize >::next = 0 |
Definition at line 52 of file vk_render_graph_node.hh.