Package org.lwjgl.vulkan
Class NVFillRectangle
- java.lang.Object
-
- org.lwjgl.vulkan.NVFillRectangle
-
public final class NVFillRectangle extends java.lang.Object
This extension adds a newVkPolygonMode
enum
where a triangle is rasterized by computing and filling its axis-aligned screen-space bounding box, disregarding the actual triangle edges. This can be useful for drawing a rectangle without being split into two triangles with an internal edge. It is also useful to minimize the number of primitives that need to be drawn, particularly for a user interface.- Name String
VK_NV_fill_rectangle
- Extension Type
- Device extension
- Registered Extension Number
- 154
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Contact
- Jeff Bolz jeffbolznv
- Last Modified Date
- 2017-05-22
- Contributors
- Jeff Bolz, NVIDIA
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_NV_FILL_RECTANGLE_EXTENSION_NAME
The extension name.static int
VK_NV_FILL_RECTANGLE_SPEC_VERSION
The extension specification version.static int
VK_POLYGON_MODE_FILL_RECTANGLE_NV
ExtendsVkPolygonMode
.
-
-
-
Field Detail
-
VK_NV_FILL_RECTANGLE_SPEC_VERSION
public static final int VK_NV_FILL_RECTANGLE_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_NV_FILL_RECTANGLE_EXTENSION_NAME
public static final java.lang.String VK_NV_FILL_RECTANGLE_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
VK_POLYGON_MODE_FILL_RECTANGLE_NV
public static final int VK_POLYGON_MODE_FILL_RECTANGLE_NV
ExtendsVkPolygonMode
.- See Also:
- Constant Field Values
-
-