VkDepthClampRangeEXT(3)

Name

VkDepthClampRangeEXT - Structure specifying a depth clamp range

C Specification

The VkDepthClampRangeEXT structure is defined as:

// Provided by VK_EXT_depth_clamp_control
typedef struct VkDepthClampRangeEXT {
    float    minDepthClamp;
    float    maxDepthClamp;
} VkDepthClampRangeEXT;

Members

  • minDepthClamp sets zmin in the depth clamp range of the viewport.

  • maxDepthClamp sets zmax in the depth clamp range of the viewport.

Description

Valid Usage
  • VUID-VkDepthClampRangeEXT-pDepthClampRange-00999
    minDepthClamp must be less than or equal to maxDepthClamp

  • VUID-VkDepthClampRangeEXT-pDepthClampRange-09648
    If the VK_EXT_depth_range_unrestricted extension is not enabled, minDepthClamp must be greater than or equal to 0.0

  • VUID-VkDepthClampRangeEXT-pDepthClampRange-09649
    If the VK_EXT_depth_range_unrestricted extension is not enabled, maxDepthClamp must be less than or equal to 1.0

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.