Monado OpenXR Runtime
comp_layer Struct Reference

A single layer. More...

#include <util/comp_base.h>

Collaboration diagram for comp_layer:

Data Fields

struct comp_swapchainsc_array [XRT_MAX_VIEWS *2]
 Up to four compositor swapchains referenced per layer. More...
 
struct xrt_layer_data data
 All basic (trivially-serializable) data associated with a layer. More...
 

Detailed Description

A single layer.

See also
comp_layer_slot

Field Documentation

◆ data

struct xrt_layer_data comp_layer::data

All basic (trivially-serializable) data associated with a layer.

Referenced by comp_render_gfx_dispatch(), and sdl_program_plus_render().

◆ sc_array

struct comp_swapchain* comp_layer::sc_array[XRT_MAX_VIEWS *2]

Up to four compositor swapchains referenced per layer.

Unused elements should be set to null.


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