Monado OpenXR Runtime
render_buffer Struct Reference

Helper struct holding a buffer and its memory. More...

#include <render/render_interface.h>

Collaboration diagram for render_buffer:

Data Fields

VkDeviceMemory memory
 Backing memory. More...
 
VkBuffer buffer
 Buffer. More...
 
VkDeviceSize size
 Size requested for the buffer. More...
 
VkDeviceSize allocation_size
 Size of the memory allocation. More...
 
VkDeviceSize alignment
 Alignment of the buffer. More...
 
void * mapped
 

Detailed Description

Helper struct holding a buffer and its memory.

Field Documentation

◆ alignment

VkDeviceSize render_buffer::alignment

Alignment of the buffer.

◆ allocation_size

VkDeviceSize render_buffer::allocation_size

Size of the memory allocation.

◆ buffer

VkBuffer render_buffer::buffer

◆ memory

VkDeviceMemory render_buffer::memory

Backing memory.

Referenced by render_buffer_close(), render_buffer_map(), and render_buffer_unmap().

◆ size

VkDeviceSize render_buffer::size

Size requested for the buffer.

Referenced by render_sub_alloc_tracker_init().


The documentation for this struct was generated from the following file: