Monado OpenXR Runtime
xrt_sub_image Struct Reference

Specifies a sub-image in a layer. More...

#include <xrt/xrt_compositor.h>

Collaboration diagram for xrt_sub_image:

Data Fields

uint32_t image_index
 Image index in the (implicit) swapchain. More...
 
uint32_t array_index
 Index in image array (for array textures) More...
 
struct xrt_rect rect
 The rectangle in the image to use. More...
 
struct xrt_normalized_rect norm_rect
 Normalized sub image coordinates and size. More...
 

Detailed Description

Specifies a sub-image in a layer.

Field Documentation

◆ array_index

uint32_t xrt_sub_image::array_index

Index in image array (for array textures)

◆ image_index

uint32_t xrt_sub_image::image_index

Image index in the (implicit) swapchain.

◆ norm_rect

struct xrt_normalized_rect xrt_sub_image::norm_rect

Normalized sub image coordinates and size.

◆ rect

struct xrt_rect xrt_sub_image::rect

The rectangle in the image to use.


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