Package org.lwjgl.vulkan
Class EXTDepthClipControl
java.lang.Object
org.lwjgl.vulkan.EXTDepthClipControl
This extension allows the application to use the OpenGL depth range in NDC, i.e. with depth in range
[-1, 1], as opposed to Vulkan’s default of [0, 1]. The purpose of this extension is to allow efficient layering of OpenGL over Vulkan, by avoiding emulation in the pre-rasterization shader stages. This emulation, which effectively duplicates gl_Position but with a different depth value, costs ALU and consumes shader output components that the implementation may not have to spare to meet OpenGL minimum requirements.
- Name String
VK_EXT_depth_clip_control- Extension Type
- Device extension
- Registered Extension Number
- 356
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_get_physical_device_properties2or Version 1.1- Special Use
- Contact
- Shahbaz Youssefi syoussefi
Other Extension Metadata
- Last Modified Date
- 2021-11-09
- Contributors
- Spencer Fricke, Samsung Electronics
- Shahbaz Youssefi, Google
- Ralph Potter, Samsung Electronics
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
-
Field Details
-
VK_EXT_DEPTH_CLIP_CONTROL_SPEC_VERSION
public static final int VK_EXT_DEPTH_CLIP_CONTROL_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_EXT_DEPTH_CLIP_CONTROL_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT
public static final int VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXTExtendsVkStructureType.Enum values:
- See Also:
-