Monado OpenXR Runtime
gfx_layer_view_state Struct Reference

Internal per-view for the layer squashing render step. More...

Collaboration diagram for gfx_layer_view_state:

Data Fields

VkDescriptorSet descriptor_sets [RENDER_MAX_LAYERS]
 Filled out descriptor sets. More...
 
enum xrt_layer_type types [RENDER_MAX_LAYERS]
 The type of layer. More...
 
bool premultiplied_alphas [RENDER_MAX_LAYERS]
 Is the alpha premultipled, false means unpremultiplied. More...
 
struct xrt_normalized_rect to_tangent
 To go to this view's tangent lengths. More...
 
uint32_t layer_count
 Number of layers filled in. More...
 
struct xrt_matrix_4x4 world_vp_full
 Full rotation and translation VP matrix, in world space. More...
 
struct xrt_matrix_4x4 eye_vp_full
 Full rotation and translation VP matrix, in view space. More...
 
struct xrt_matrix_4x4 world_v_inv_full
 Full rotation and translation inverse V matrix, in world space. More...
 
struct xrt_matrix_4x4 eye_v_inv_full
 Full rotation and translation inverse V matrix, in view space. More...
 
struct xrt_matrix_4x4 world_vp_rot_only
 Only rotation and translation VP matrix, in world space. More...
 
struct xrt_matrix_4x4 eye_vp_rot_only
 Only rotation and translation VP matrix, in view space. More...
 

Detailed Description

Internal per-view for the layer squashing render step.

Field Documentation

◆ descriptor_sets

VkDescriptorSet gfx_layer_view_state::descriptor_sets[RENDER_MAX_LAYERS]

Filled out descriptor sets.

◆ eye_v_inv_full

struct xrt_matrix_4x4 gfx_layer_view_state::eye_v_inv_full

Full rotation and translation inverse V matrix, in view space.

◆ eye_vp_full

struct xrt_matrix_4x4 gfx_layer_view_state::eye_vp_full

Full rotation and translation VP matrix, in view space.

◆ eye_vp_rot_only

struct xrt_matrix_4x4 gfx_layer_view_state::eye_vp_rot_only

Only rotation and translation VP matrix, in view space.

◆ layer_count

uint32_t gfx_layer_view_state::layer_count

Number of layers filled in.

TODO move to parent struct

◆ premultiplied_alphas

bool gfx_layer_view_state::premultiplied_alphas[RENDER_MAX_LAYERS]

Is the alpha premultipled, false means unpremultiplied.

◆ to_tangent

struct xrt_normalized_rect gfx_layer_view_state::to_tangent

To go to this view's tangent lengths.

◆ types

enum xrt_layer_type gfx_layer_view_state::types[RENDER_MAX_LAYERS]

The type of layer.

◆ world_v_inv_full

struct xrt_matrix_4x4 gfx_layer_view_state::world_v_inv_full

Full rotation and translation inverse V matrix, in world space.

◆ world_vp_full

struct xrt_matrix_4x4 gfx_layer_view_state::world_vp_full

Full rotation and translation VP matrix, in world space.

◆ world_vp_rot_only

struct xrt_matrix_4x4 gfx_layer_view_state::world_vp_rot_only

Only rotation and translation VP matrix, in world space.


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