# VkDiscardRectangleModeEXT(3) Manual Page

## Name

VkDiscardRectangleModeEXT - Specify the discard rectangle mode

## C Specification

Possible values of VkPipelineDiscardRectangleStateCreateInfoEXT::`discardRectangleMode`, specifying the behavior of the discard rectangle test, are:

    typedef enum VkDiscardRectangleModeEXT {
        VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT = 0,
        VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT = 1,
        VK_DISCARD_RECTANGLE_MODE_MAX_ENUM_EXT = 0x7FFFFFFF
    } VkDiscardRectangleModeEXT;

## Description

- `VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT` specifies that a fragment within any discard rectangle satisfies the test.

- `VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT` specifies that a fragment not within any of the discard rectangles satisfies the test.

## See Also

VkPipelineDiscardRectangleStateCreateInfoEXT

## 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 (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.