Monado OpenXR Runtime
comp_layer_slot Struct Reference

A stack of layers. More...

#include <util/comp_base.h>

Collaboration diagram for comp_layer_slot:

Data Fields

struct xrt_layer_frame_data data
 The per frame data. More...
 
struct comp_layer layers [16]
 All of the layers. More...
 
uint32_t layer_count
 Number of submitted layers. More...
 
bool one_projection_layer_fast_path
 Special case one layer projection/projection-depth fast-path. More...
 
struct xrt_fov fovs [XRT_MAX_VIEWS]
 fov as reported by device for the current submit. More...
 
struct xrt_pose poses [XRT_MAX_VIEWS]
 absolute pose as reported by device for the current submit. More...
 

Detailed Description

A stack of layers.

See also
comp_base

Field Documentation

◆ data

struct xrt_layer_frame_data comp_layer_slot::data

The per frame data.

◆ fovs

struct xrt_fov comp_layer_slot::fovs[XRT_MAX_VIEWS]

fov as reported by device for the current submit.

◆ layer_count

uint32_t comp_layer_slot::layer_count

Number of submitted layers.

Referenced by can_do_one_projection_layer_fast_path(), and sdl_program_plus_render().

◆ layers

struct comp_layer comp_layer_slot::layers[16]

◆ one_projection_layer_fast_path

bool comp_layer_slot::one_projection_layer_fast_path

Special case one layer projection/projection-depth fast-path.

◆ poses

struct xrt_pose comp_layer_slot::poses[XRT_MAX_VIEWS]

absolute pose as reported by device for the current submit.


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