vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

Description

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

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

VK_EXT_depth_clamp_zero_one, Bool32, StructureType

Constructors

PhysicalDeviceDepthClampZeroOneFeaturesEXT 

Fields

  • depthClampZeroOne :: Bool

    depthClampZeroOne indicates that the implementation supports clamping the depth to a range of 0 to 1.

Instances

Instances details
Storable PhysicalDeviceDepthClampZeroOneFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

Show PhysicalDeviceDepthClampZeroOneFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

Eq PhysicalDeviceDepthClampZeroOneFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

FromCStruct PhysicalDeviceDepthClampZeroOneFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

ToCStruct PhysicalDeviceDepthClampZeroOneFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

Zero PhysicalDeviceDepthClampZeroOneFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_depth_clamp_zero_one

type EXT_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME = "VK_EXT_depth_clamp_zero_one" Source #