Class NVFillRectangle

java.lang.Object
org.lwjgl.vulkan.NVFillRectangle

public final class NVFillRectangle extends Object
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
Other Extension Metadata
Last Modified Date
2017-05-22
Contributors
  • Jeff Bolz, NVIDIA
  • Field Details

    • VK_NV_FILL_RECTANGLE_SPEC_VERSION

      public static final int VK_NV_FILL_RECTANGLE_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_NV_FILL_RECTANGLE_EXTENSION_NAME

      public static final String 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_NV
      Extends VkPolygonMode.
      See Also: