VkDiscardRectangleModeEXT(3)

# VkDiscardRectangleModeEXT(3) Manual Page

## Name

VkDiscardRectangleModeEXT - Specify the discard rectangle mode

## C Specification

VkDiscardRectangleModeEXT values are:

    // Provided by VK_EXT_discard_rectangles
    typedef enum VkDiscardRectangleModeEXT {
        VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT = 0,
        VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT = 1,
    } VkDiscardRectangleModeEXT;

## Description

- VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT specifies that the discard rectangle test is inclusive.

- VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT specifies that the discard rectangle test is exclusive.

## See Also

VK_EXT_discard_rectangles, VkPipelineDiscardRectangleStateCreateInfoEXT, vkCmdSetDiscardRectangleModeEXT

## Document Notes

For more information, see the Vulkan Specification.

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

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0