Monado OpenXR Runtime
Loading...
Searching...
No Matches
Comp_render

Renders, aka "layer squashers" and distortion application. More...

Collaboration diagram for Comp_render:

Modules

 Comp_render_gfx
 GFX renderer control and dispatch - uses graphics shaders.
 
 Comp_render_cs
 CS renderer control and dispatch - uses compute shaders.
 

Data Structures

struct  comp_render_view_data
 The input data needed for a single view, shared between both GFX and CS paths. More...
 
struct  comp_render_dispatch_data
 The input data needed for a complete layer squashing distortion rendering to a target. More...
 

Detailed Description

Renders, aka "layer squashers" and distortion application.

Two parallel implementations of the render module exist:

Their abilities are effectively equivalent, although the graphics version disregards depth data, while the compute shader does use it somewhat.

Note
In general this module requires that swapchains in your supplied comp_layer layers implement comp_swapchain in addition to just xrt_swapchain.