Monado OpenXR Runtime
Data Fields
oxr_swapchain Struct Reference

A set of images used for rendering. More...

#include <oxr/oxr_objects.h>

Collaboration diagram for oxr_swapchain:
Collaboration graph
[legend]

Data Fields

struct oxr_handle_base handle
 Common structure for things referred to by OpenXR handles. More...
 
struct oxr_sessionsess
 Onwer of this swapchain. More...
 
struct xrt_swapchainswapchain
 Compositor swapchain. More...
 
int acquired_index
 Actual state tracked! :D. More...
 
int released_index
 
XrResult(* destroy )(struct oxr_logger *, struct oxr_swapchain *)
 
XrResult(* enumerate_images )(struct oxr_logger *, struct oxr_swapchain *, uint32_t, XrSwapchainImageBaseHeader *)
 
XrResult(* acquire_image )(struct oxr_logger *, struct oxr_swapchain *, const XrSwapchainImageAcquireInfo *, uint32_t *)
 
XrResult(* wait_image )(struct oxr_logger *, struct oxr_swapchain *, const XrSwapchainImageWaitInfo *)
 
XrResult(* release_image )(struct oxr_logger *, struct oxr_swapchain *, const XrSwapchainImageReleaseInfo *)
 

Detailed Description

A set of images used for rendering.

OpenXR Object:
XrSwapchain

Field Documentation

◆ acquired_index

int oxr_swapchain::acquired_index

Actual state tracked! :D.

◆ handle

struct oxr_handle_base oxr_swapchain::handle

Common structure for things referred to by OpenXR handles.

◆ sess

struct oxr_session* oxr_swapchain::sess

Onwer of this swapchain.

◆ swapchain

struct xrt_swapchain* oxr_swapchain::swapchain

Compositor swapchain.


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