Monado OpenXR Runtime
Data Fields
comp_swapchain_image Struct Reference

A single swapchain image, holds the needed state for tracking image usage. More...

#include <main/comp_compositor.h>

Data Fields

VkImage image
 Vulkan image to create view from. More...
 
VkDeviceMemory memory
 Exported memory backing the image. More...
 
VkSampler sampler
 Sampler used by the renderer and distortion code. More...
 
VkImageView * views
 Views used by the renderer and distortion code, for each array layer. More...
 

Detailed Description

A single swapchain image, holds the needed state for tracking image usage.

Field Documentation

◆ image

VkImage comp_swapchain_image::image

Vulkan image to create view from.

Referenced by comp_swapchain_image_cleanup().

◆ memory

VkDeviceMemory comp_swapchain_image::memory

Exported memory backing the image.

Referenced by comp_swapchain_image_cleanup().

◆ sampler

VkSampler comp_swapchain_image::sampler

Sampler used by the renderer and distortion code.

Referenced by comp_swapchain_image_cleanup().

◆ views

VkImageView* comp_swapchain_image::views

Views used by the renderer and distortion code, for each array layer.

Referenced by comp_swapchain_image_cleanup().


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