Package org.lwjgl.vulkan
Class EXTDepthClipControl
- java.lang.Object
-
- org.lwjgl.vulkan.EXTDepthClipControl
-
public final class EXTDepthClipControl extends java.lang.ObjectThis 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.VK_EXT_depth_clip_control
- Name String
VK_EXT_depth_clip_control- Extension Type
- Device extension
- Registered Extension Number
- 356
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- 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
Fields Modifier and Type Field Description static java.lang.StringVK_EXT_DEPTH_CLIP_CONTROL_EXTENSION_NAMEThe extension name.static intVK_EXT_DEPTH_CLIP_CONTROL_SPEC_VERSIONThe extension specification version.static intVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXTExtendsVkStructureType.
-
-
-
Field Detail
-
VK_EXT_DEPTH_CLIP_CONTROL_SPEC_VERSION
The extension specification version.
-
VK_EXT_DEPTH_CLIP_CONTROL_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT, VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT
ExtendsVkStructureType.Enum values:
-
-