C Specification
The VkPipelineViewportDepthClampControlCreateInfoEXT
structure is
defined as:
// Provided by VK_EXT_depth_clamp_control
typedef struct VkPipelineViewportDepthClampControlCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkDepthClampModeEXT depthClampMode;
const VkDepthClampRangeEXT* pDepthClampRange;
} VkPipelineViewportDepthClampControlCreateInfoEXT;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
depthClampMode
determines how the clamp range is determined for each viewport. -
pDepthClampRange
sets the depth clamp range for all viewports ifdepthClampMode
isVK_DEPTH_CLAMP_MODE_USER_DEFINED_RANGE_EXT
.
Description
This structure extends VkPipelineViewportStateCreateInfo
and specifies
the depth clamp range used in the pipeline.
If this structure is not provided in the next chain then
depthClampMode
defaults to
VK_DEPTH_CLAMP_MODE_VIEWPORT_RANGE_EXT
.
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.