Structures

VkDepthClampRangeEXT

Structure specifying a depth clamp range

The VkDepthClampRangeEXT structure is defined as:

typedef struct VkDepthClampRangeEXT {
    float minDepthClamp;
    float maxDepthClamp;
} VkDepthClampRangeEXT;
  • minDepthClamp sets zmin in the depth clamp range of the viewport.
  • maxDepthClamp sets zmax in the depth clamp range of the viewport.

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