Enum
VkDepthClampModeEXT
Modes that determine the depth clamp range
Possible values of
VkPipelineViewportDepthClampControlCreateInfoEXT::depthClampMode,
specifying which range should be used for depth clamping, are:
typedef enum VkDepthClampModeEXT {
VK_DEPTH_CLAMP_MODE_VIEWPORT_RANGE_EXT = 0,
VK_DEPTH_CLAMP_MODE_USER_DEFINED_RANGE_EXT = 1,
} VkDepthClampModeEXT;
pub struct DepthClampModeEXT(u32);
impl DepthClampModeEXT {
pub const VIEWPORT_RANGE: Self = 0;
pub const USER_DEFINED_RANGE: Self = 1;
}
VK_DEPTH_CLAMP_MODE_VIEWPORT_RANGE_EXTspecifies that the depth clamp range follows the viewport depth range. The depth clamp range of each viewport will implicitly be set to zmin = min(n,f) and zmax = max(n,f), where n and f are theminDepthandmaxDepthdepth range values of the viewport.VK_DEPTH_CLAMP_MODE_USER_DEFINED_RANGE_EXTspecifies that a single user-defined depth clamp range will be used for all viewports. The user-defined depth clamp range is defined by theminDepthClampandmaxDepthClampmembers of VkDepthClampRangeEXT.
Type
Enum