Class EXTDiscardRectangles


  • public class EXTDiscardRectangles
    extends java.lang.Object
    This extension provides additional orthogonally aligned "discard rectangles" specified in framebuffer-space coordinates that restrict rasterization of all points, lines and triangles.

    From zero to an implementation-dependent limit (specified by maxDiscardRectangles) number of discard rectangles can be operational at once. When one or more discard rectangles are active, rasterized fragments can either survive if the fragment is within any of the operational discard rectangles (DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT mode) or be rejected if the fragment is within any of the operational discard rectangles (DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT mode).

    These discard rectangles operate orthogonally to the existing scissor test functionality. The discard rectangles can be different for each physical device in a device group by specifying the device mask and setting discard rectangle dynamic state.

    Name String
    VK_EXT_discard_rectangles
    Extension Type
    Device extension
    Registered Extension Number
    100
    Revision
    1
    Extension and Version Dependencies
    Contact
    Last Modified Date
    2016-12-22
    Interactions and External Dependencies
    • Interacts with VK_KHR_device_group
    • Interacts with Vulkan 1.1
    Contributors
    • Daniel Koch, NVIDIA
    • Jeff Bolz, NVIDIA