static xrt_result_t xrt_allocation_collection_get_native_images(struct xrt_allocation_collection *xac, struct xrt_image_native *out_images)
Typed helper to get all the native images from an allocation collection, see XRT_ALLOCATION_TYPE_NATI...
Definition xrt_allocation_collection_native.h:35
enum xrt_result xrt_result_t
Result type used across Monado.
@ XRT_ALLOCATION_TYPE_NATIVE_IMAGE
Get with xrt_allocation_collection_get_native_images.
Definition xrt_allocation_collection.h:200
A collection of allocations, these can be images, buffers or general memory.
Definition xrt_allocation_collection.h:224
xrt_result_t(* get_all_raw)(struct xrt_allocation_collection *xac, enum xrt_allocation_type type, void *ptr)
Get all images of a given type.
Definition xrt_allocation_collection.h:293
A single image of a swapchain based on native buffer handles.
Definition xrt_compositor.h:2103
Header declaring XRT graphics interfaces.