Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_EXT_depth_clamp_zero_one - device extension
VK_EXT_depth_clamp_zero_one
- Name String
VK_EXT_depth_clamp_zero_one
- Extension Type
- Device extension
- Registered Extension Number
- 422
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_KHR_get_physical_device_properties2
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-07-29
- Contributors
- Graeme Leese, Broadcom
Description
This extension gives defined behavior to fragment depth values which end up outside the conventional [0, 1] range. It can be used to ensure portability in edge cases of features like depthBias. The particular behavior is chosen to match OpenGL to aid porting or emulation.
New Structures
New Enum Constants
Version History
Revision 1, 2021-07-29 (Graeme Leese)
- Internal revisions
See Also
PhysicalDeviceDepthClampZeroOneFeaturesEXT
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- data PhysicalDeviceDepthClampZeroOneFeaturesEXT = PhysicalDeviceDepthClampZeroOneFeaturesEXT {}
- type EXT_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION = 1
- pattern EXT_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION :: forall a. Integral a => a
- type EXT_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME = "VK_EXT_depth_clamp_zero_one"
- pattern EXT_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceDepthClampZeroOneFeaturesEXT Source #
VkPhysicalDeviceDepthClampZeroOneFeaturesEXT - Structure describing feature to control zero to one depth clamping
Members
This structure describes the following feature:
Description
If the PhysicalDeviceDepthClampZeroOneFeaturesEXT
structure is
included in the pNext
chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2
,
it is filled in to indicate whether each corresponding feature is
supported. PhysicalDeviceDepthClampZeroOneFeaturesEXT
can also be
used in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
Instances
type EXT_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION = 1 Source #
pattern EXT_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME = "VK_EXT_depth_clamp_zero_one" Source #
pattern EXT_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #