## C Specification

The VkRectLayerKHR structure is defined as:

// Provided by VK_KHR_incremental_present
typedef struct VkRectLayerKHR {
VkOffset2D    offset;
VkExtent2D    extent;
uint32_t      layer;
} VkRectLayerKHR;

## Members

• offset is the origin of the rectangle, in pixels.

• extent is the size of the rectangle, in pixels.

• layer is the layer of the image. For images with only one layer, the value of layer must be 0.

## Description

Valid Usage

Some platforms allow the size of a surface to change, and then scale the pixels of the image to fit the surface. VkRectLayerKHR specifies pixels of the swapchain’s image(s), which will be constant for the life of the swapchain.