Monado OpenXR Runtime
|
Helper struct that encapsulate a distortion rendering code. More...
#include <main/comp_distortion.h>
Data Fields | |
struct vk_bundle * | vk |
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 |
Helper struct that encapsulate a distortion rendering code.
float comp_distortion::aberr[4] |
float comp_distortion::aspect_x_over_y |
float comp_distortion::center[2][4] |
float comp_distortion::coefficients[2][3][4] |
VkDescriptorSetLayout comp_distortion::descriptor_set_layout |
Referenced by comp_distortion_destroy().
VkDescriptorSet comp_distortion::descriptor_sets[2] |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_draw_quad().
enum xrt_distortion_model comp_distortion::distortion_model |
Referenced by comp_distortion_init().
bool comp_distortion::flip_y |
Referenced by comp_distortion_init().
float comp_distortion::grow_for_undistort |
float comp_distortion::hmd_warp_param[4] |
struct comp_uniform_buffer comp_distortion::index_handle |
Referenced by comp_distortion_draw_mesh().
int* comp_distortion::indices |
Referenced by comp_distortion_init().
float comp_distortion::lens_center[2][4] |
struct { ... } comp_distortion::mesh |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_init().
size_t comp_distortion::num_indices[2] |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_init().
size_t comp_distortion::num_vertices |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_init().
size_t comp_distortion::offset_indices[2] |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_init().
VkPipeline comp_distortion::pipeline |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_draw_quad().
VkPipelineLayout comp_distortion::pipeline_layout |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_draw_quad().
bool comp_distortion::quirk_draw_lines |
Referenced by comp_distortion_init().
struct xrt_matrix_2x2 comp_distortion::rot |
size_t comp_distortion::stride |
Referenced by comp_distortion_init().
size_t comp_distortion::total_num_indices |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_init().
struct comp_uniform_buffer comp_distortion::ubo_handle |
struct { ... } comp_distortion::ubo_pano |
struct comp_uniform_buffer comp_distortion::ubo_viewport_handles[2] |
struct { ... } comp_distortion::ubo_vive |
struct { ... } comp_distortion::ubo_vp_data[2] |
Referenced by comp_distortion_init().
float comp_distortion::undistort_r2_cutoff[4] |
struct comp_uniform_buffer comp_distortion::vbo_handle |
Referenced by comp_distortion_draw_mesh().
float* comp_distortion::vertices |
Referenced by comp_distortion_init().
int comp_distortion::viewport_id |
float comp_distortion::viewport_scale[2] |
struct vk_bundle* comp_distortion::vk |
float comp_distortion::warp_scale |