Package org.lwjgl.vulkan
Class AMDNegativeViewportHeight
- java.lang.Object
-
- org.lwjgl.vulkan.AMDNegativeViewportHeight
-
public final class AMDNegativeViewportHeight extends java.lang.Object
This extension allows an application to specify a negative viewport height. The result is that the viewport transformation will flip along the y-axis.- Allow negative height to be specified in the
VkViewport
::height
field to perform y-inversion of the clip-space to framebuffer-space transform. This allows apps to avoid having to usegl_Position.y = -gl_Position.y
in shaders also targeting other APIs.
Obsoletion by VK_KHR_maintenance1 and Vulkan 1.1
Functionality in this extension is included in
VK_KHR_maintenance1
and subsequently Vulkan 1.1. Due to some slight behavioral differences, this extension must not be enabled alongsideVK_KHR_maintenance1
, or in an instance created with version 1.1 or later requested inVkApplicationInfo
::apiVersion
.- Name String
VK_AMD_negative_viewport_height
- Extension Type
- Device extension
- Registered Extension Number
- 36
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Deprecation state
- Obsoleted by VK_KHR_maintenance1 extension
- Which in turn was promoted to Vulkan 1.1
- Obsoleted by VK_KHR_maintenance1 extension
- Contact
- Matthaeus G. Chajdas anteru
- Last Modified Date
- 2016-09-02
- IP Status
- No known IP claims.
- Contributors
- Matthaeus G. Chajdas, AMD
- Graham Sellers, AMD
- Baldur Karlsson
- Allow negative height to be specified in the
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_EXTENSION_NAME
The extension name.static int
VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_SPEC_VERSION
The extension specification version.
-
-
-
Field Detail
-
VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_SPEC_VERSION
public static final int VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_EXTENSION_NAME
public static final java.lang.String VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
-