|
Monado OpenXR Runtime
|
Per frame sub-allocation into a buffer, used to reduce the number of UBO objects we need to create. More...
#include <render/render_interface.h>

Data Fields | |
| VkBuffer | buffer |
| The buffer this is allocated from, it is the caller's responsibility to keep it alive for as long as the sub-allocation is used. More... | |
| VkDeviceSize | size |
| Size of sub-allocation. More... | |
| VkDeviceSize | offset |
| Offset into buffer. More... | |
Per frame sub-allocation into a buffer, used to reduce the number of UBO objects we need to create.
There is no way to free a sub-allocation, this is done implicitly at the end of the frame when render_sub_alloc_tracker is zeroed out.
| VkBuffer render_sub_alloc::buffer |
The buffer this is allocated from, it is the caller's responsibility to keep it alive for as long as the sub-allocation is used.
Referenced by do_ubo_and_src_alloc_and_write().
| VkDeviceSize render_sub_alloc::offset |
Offset into buffer.
Referenced by do_ubo_and_src_alloc_and_write().
| VkDeviceSize render_sub_alloc::size |
Size of sub-allocation.
Referenced by do_ubo_and_src_alloc_and_write().