Monado OpenXR Runtime
xrt_swapchain_create_properties Struct Reference

Struct used to negotiate properties of a swapchain that is created outside of the compositor. More...

#include <xrt/xrt_compositor.h>

Collaboration diagram for xrt_swapchain_create_properties:

Data Fields

uint32_t image_count
 How many images the compositor want in the swapchain. More...
 
enum xrt_swapchain_usage_bits extra_bits
 New creation bits. More...
 

Detailed Description

Struct used to negotiate properties of a swapchain that is created outside of the compositor.

Often used by a client compositor or IPC layer to allocate the swapchain images and then pass them into the native compositor.

Field Documentation

◆ extra_bits

enum xrt_swapchain_usage_bits xrt_swapchain_create_properties::extra_bits

New creation bits.

Referenced by comp_swapchain_get_create_properties().

◆ image_count

uint32_t xrt_swapchain_create_properties::image_count

How many images the compositor want in the swapchain.

Referenced by comp_swapchain_get_create_properties().


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