|
Monado OpenXR Runtime
|
Allocator for system native images, in general you do not need to free the images as they will be consumed by importing them to the graphics API. More...
#include <xrt/xrt_compositor.h>

Static Public Member Functions | |
| static void | xrt_images_destroy (struct xrt_image_native_allocator **xina_ptr) |
| Destroy the image allocator. More... | |
Data Fields | |
| xrt_result_t(* | images_allocate )(struct xrt_image_native_allocator *xina, const struct xrt_swapchain_create_info *xsci, size_t image_count, struct xrt_image_native *out_images) |
Allocate a set of images suitable to be used to back a swapchain with the given create info properties (xsci). More... | |
| xrt_result_t(* | images_free )(struct xrt_image_native_allocator *xina, size_t image_count, struct xrt_image_native *images) |
| Free the given images. More... | |
| void(* | destroy )(struct xrt_image_native_allocator *xina) |
| Destroy the image allocator. More... | |
Allocator for system native images, in general you do not need to free the images as they will be consumed by importing them to the graphics API.
| void(* xrt_image_native_allocator::destroy) (struct xrt_image_native_allocator *xina) |
Destroy the image allocator.
Referenced by xrt_images_destroy().
| xrt_result_t(* xrt_image_native_allocator::images_allocate) (struct xrt_image_native_allocator *xina, const struct xrt_swapchain_create_info *xsci, size_t image_count, struct xrt_image_native *out_images) |
Allocate a set of images suitable to be used to back a swapchain with the given create info properties (xsci).
| xrt_result_t(* xrt_image_native_allocator::images_free) (struct xrt_image_native_allocator *xina, size_t image_count, struct xrt_image_native *images) |
Free the given images.