VKCLEARRECT(3)

NAME
VkClearRect - Structure specifying a clear rectangle

C SPECIFICATION

The VkClearRect structure is defined as:

    typedef struct VkClearRect {
        VkRect2D    rect;
        uint32_t    baseArrayLayer;
        uint32_t    layerCount;
    } VkClearRect;

MEMBERS

    • rect is the two-dimensional region to be cleared.

    • baseArrayLayer is the first layer to be cleared.

    • layerCount is the number of layers to clear.

DESCRIPTION

The layers [baseArrayLayer, baseArrayLayer + layerCount) counting from the base layer of the attachment image view are cleared.

SEE ALSO

VkRect2D, vkCmdClearAttachments

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkClearRect

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.