Monado OpenXR Runtime
ipc_layer_entry Struct Reference

Data for a single composition layer. More...

#include </builds/monado/monado/src/xrt/ipc/shared/ipc_protocol.h>

Collaboration diagram for ipc_layer_entry:

Data Fields

uint32_t xdev_id
 
uint32_t swapchain_ids [XRT_MAX_VIEWS *2]
 Up to two indices of swapchains to use. More...
 
struct xrt_layer_data data
 All basic (trivially-serializable) data associated with a layer, aside from which swapchain(s) are used. More...
 

Detailed Description

Data for a single composition layer.

Similar in function to comp_layer

Field Documentation

◆ data

struct xrt_layer_data ipc_layer_entry::data

All basic (trivially-serializable) data associated with a layer, aside from which swapchain(s) are used.

◆ swapchain_ids

uint32_t ipc_layer_entry::swapchain_ids[XRT_MAX_VIEWS *2]

Up to two indices of swapchains to use.

How many are actually used depends on the value of data.type

◆ xdev_id

uint32_t ipc_layer_entry::xdev_id
Todo:
what is this used for?

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