Monado OpenXR Runtime
|
A single image of a swapchain based on native buffer handles. More...
#include <xrt/xrt_compositor.h>
Data Fields | |
xrt_graphics_buffer_handle_t | handle |
Native buffer handle. More... | |
uint64_t | size |
Buffer size in memory. More... | |
bool | use_dedicated_allocation |
Is the image created with a dedicated allocation or not. More... | |
bool | is_dxgi_handle |
Is the native buffer handle a DXGI handle? More... | |
A single image of a swapchain based on native buffer handles.
xrt_graphics_buffer_handle_t xrt_image_native::handle |
Native buffer handle.
Referenced by xrt::compositor::client::importFromDxgiHandles(), and vk_ic_from_natives().
bool xrt_image_native::is_dxgi_handle |
Is the native buffer handle a DXGI handle?
Referenced by vk_csci_get_image_external_handle_type(), and vk_ic_from_natives().
uint64_t xrt_image_native::size |
Buffer size in memory.
Optional, set to 0 if unknown at allocation time. If not zero, used for a max memory requirements check when importing into Vulkan.
bool xrt_image_native::use_dedicated_allocation |
Is the image created with a dedicated allocation or not.
Referenced by ogl_import_from_native().