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

◆ acquire_image

XrResult(* oxr_swapchain::acquire_image) (struct oxr_logger *, struct oxr_swapchain *, const XrSwapchainImageAcquireInfo *, uint32_t *)

◆ acquired_index

int oxr_swapchain::acquired_index

Actual state tracked! :D.

◆ destroy

XrResult(* oxr_swapchain::destroy) (struct oxr_logger *, struct oxr_swapchain *)

◆ enumerate_images

XrResult(* oxr_swapchain::enumerate_images) (struct oxr_logger *, struct oxr_swapchain *, uint32_t, XrSwapchainImageBaseHeader *)

◆ handle

struct oxr_handle_base oxr_swapchain::handle

Common structure for things referred to by OpenXR handles.

Referenced by oxr_xrDestroySwapchain().

◆ release_image

XrResult(* oxr_swapchain::release_image) (struct oxr_logger *, struct oxr_swapchain *, const XrSwapchainImageReleaseInfo *)

◆ released_index

int oxr_swapchain::released_index

◆ sess

struct oxr_session* oxr_swapchain::sess

Onwer of this swapchain.

◆ swapchain

struct xrt_swapchain* oxr_swapchain::swapchain

Compositor swapchain.

Referenced by oxr_xrEnumerateSwapchainImages().

◆ wait_image

XrResult(* oxr_swapchain::wait_image) (struct oxr_logger *, struct oxr_swapchain *, const XrSwapchainImageWaitInfo *)

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