Monado OpenXR Runtime
comp_scratch_single_images Struct Reference

Holds scratch images for a single view, designed to work with render code. More...

#include <util/comp_scratch.h>

Collaboration diagram for comp_scratch_single_images:

Data Fields

struct render_scratch_color_image images [(4)]
 Images used when rendering. More...
 
struct u_native_images_debug unid
 To connect to the debug UI. More...
 
struct xrt_swapchain_create_info info
 Exposed via unid. More...
 
struct xrt_image_native native_images [(4)]
 Exposed via unid. More...
 
struct comp_scratch_indices indices
 Keeping track of indices. More...
 
xrt_limited_unique_id_t limited_unique_id
 Process unique id, used for caching. More...
 

Detailed Description

Holds scratch images for a single view, designed to work with render code.

Also manages xrt_image_native and u_native_images_debug to facilitate easy debugging.

Field Documentation

◆ images

struct render_scratch_color_image comp_scratch_single_images::images[(4)]

Images used when rendering.

◆ indices

struct comp_scratch_indices comp_scratch_single_images::indices

Keeping track of indices.

◆ info

struct xrt_swapchain_create_info comp_scratch_single_images::info

Exposed via unid.

Referenced by comp_scratch_single_images_ensure().

◆ limited_unique_id

xrt_limited_unique_id_t comp_scratch_single_images::limited_unique_id

Process unique id, used for caching.

◆ native_images

struct xrt_image_native comp_scratch_single_images::native_images[(4)]

Exposed via unid.

◆ unid

struct u_native_images_debug comp_scratch_single_images::unid

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