Package org.lwjgl.vulkan
Class NVFillRectangle
java.lang.Object
org.lwjgl.vulkan.NVFillRectangle
This extension adds a new
VkPolygonMode 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
- Contact
- Jeff Bolz jeffbolznv
Other Extension Metadata
- Last Modified Date
- 2017-05-22
- Contributors
- Jeff Bolz, NVIDIA
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkPolygonMode. -
Method Summary
-
Field Details
-
VK_NV_FILL_RECTANGLE_SPEC_VERSION
public static final int VK_NV_FILL_RECTANGLE_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_NV_FILL_RECTANGLE_EXTENSION_NAME
The extension name.- See Also:
-
VK_POLYGON_MODE_FILL_RECTANGLE_NV
public static final int VK_POLYGON_MODE_FILL_RECTANGLE_NVExtendsVkPolygonMode.- See Also:
-