Monado OpenXR Runtime
Data Fields
comp_distortion Struct Reference

Helper struct that encapsulate a distortion rendering code. More...

#include <main/comp_distortion.h>

Collaboration diagram for comp_distortion:
Collaboration graph
[legend]

Data Fields

struct vk_bundlevk
 
struct comp_uniform_buffer ubo_handle
 
struct comp_uniform_buffer vbo_handle
 
struct comp_uniform_buffer index_handle
 
struct comp_uniform_buffer ubo_viewport_handles [2]
 
enum xrt_distortion_model distortion_model
 
struct {
   float   hmd_warp_param [4]
 
   float   aberr [4]
 
   float   lens_center [2][4]
 
   float   viewport_scale [2]
 
   float   warp_scale
 
ubo_pano
 
struct {
   float   coefficients [2][3][4]
 
   float   center [2][4]
 
   float   undistort_r2_cutoff [4]
 
   float   aspect_x_over_y
 
   float   grow_for_undistort
 
ubo_vive
 
struct {
   float *   vertices
 
   int *   indices
 
   size_t   stride
 
   size_t   num_vertices
 
   size_t   num_indices [2]
 
   size_t   offset_indices [2]
 
   size_t   total_num_indices
 
mesh
 
struct {
   struct xrt_matrix_2x2   rot
 
   int   viewport_id
 
   bool   flip_y
 
ubo_vp_data [2]
 
VkPipelineLayout pipeline_layout
 
VkPipeline pipeline
 
VkDescriptorSetLayout descriptor_set_layout
 
VkDescriptorSet descriptor_sets [2]
 
bool quirk_draw_lines
 

Detailed Description

Helper struct that encapsulate a distortion rendering code.

Field Documentation

◆ aberr

float comp_distortion::aberr[4]

◆ aspect_x_over_y

float comp_distortion::aspect_x_over_y

◆ center

float comp_distortion::center[2][4]

◆ coefficients

float comp_distortion::coefficients[2][3][4]

◆ descriptor_set_layout

VkDescriptorSetLayout comp_distortion::descriptor_set_layout

Referenced by comp_distortion_destroy().

◆ descriptor_sets

VkDescriptorSet comp_distortion::descriptor_sets[2]

◆ distortion_model

enum xrt_distortion_model comp_distortion::distortion_model

Referenced by comp_distortion_init().

◆ flip_y

bool comp_distortion::flip_y

Referenced by comp_distortion_init().

◆ grow_for_undistort

float comp_distortion::grow_for_undistort

◆ hmd_warp_param

float comp_distortion::hmd_warp_param[4]

◆ index_handle

struct comp_uniform_buffer comp_distortion::index_handle

◆ indices

int* comp_distortion::indices

Referenced by comp_distortion_init().

◆ lens_center

float comp_distortion::lens_center[2][4]

◆ mesh

struct { ... } comp_distortion::mesh

◆ num_indices

size_t comp_distortion::num_indices[2]

◆ num_vertices

size_t comp_distortion::num_vertices

◆ offset_indices

size_t comp_distortion::offset_indices[2]

◆ pipeline

VkPipeline comp_distortion::pipeline

◆ pipeline_layout

VkPipelineLayout comp_distortion::pipeline_layout

◆ quirk_draw_lines

bool comp_distortion::quirk_draw_lines

Referenced by comp_distortion_init().

◆ rot

struct xrt_matrix_2x2 comp_distortion::rot

◆ stride

size_t comp_distortion::stride

Referenced by comp_distortion_init().

◆ total_num_indices

size_t comp_distortion::total_num_indices

◆ ubo_handle

struct comp_uniform_buffer comp_distortion::ubo_handle

◆ ubo_pano

struct { ... } comp_distortion::ubo_pano

◆ ubo_viewport_handles

struct comp_uniform_buffer comp_distortion::ubo_viewport_handles[2]

◆ ubo_vive

struct { ... } comp_distortion::ubo_vive

◆ ubo_vp_data

struct { ... } comp_distortion::ubo_vp_data[2]

Referenced by comp_distortion_init().

◆ undistort_r2_cutoff

float comp_distortion::undistort_r2_cutoff[4]

◆ vbo_handle

struct comp_uniform_buffer comp_distortion::vbo_handle

◆ vertices

float* comp_distortion::vertices

Referenced by comp_distortion_init().

◆ viewport_id

int comp_distortion::viewport_id

◆ viewport_scale

float comp_distortion::viewport_scale[2]

◆ vk

struct vk_bundle* comp_distortion::vk

◆ warp_scale

float comp_distortion::warp_scale

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