Class NVFillRectangle


  • public final class NVFillRectangle
    extends java.lang.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
    Extension and Version Dependencies
    • Requires Vulkan 1.0
    Contact
    Last Modified Date
    2017-05-22
    Contributors
    • Jeff Bolz, NVIDIA
    • 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
        Extends VkPolygonMode.
        See Also:
        Constant Field Values