org.lwjgl.vulkan.NVFillRectangle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* This extension adds a new {@code VkPolygonMode} {@code 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.
*
* VK_NV_fill_rectangle
*
*
* - Name String
* - {@code 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
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2017-05-22
* - Contributors
*
* - Jeff Bolz, NVIDIA
*
*
*/
public final class NVFillRectangle {
/** The extension specification version. */
public static final int VK_NV_FILL_RECTANGLE_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_NV_FILL_RECTANGLE_EXTENSION_NAME = "VK_NV_fill_rectangle";
/** Extends {@code VkPolygonMode}. */
public static final int VK_POLYGON_MODE_FILL_RECTANGLE_NV = 1000153000;
private NVFillRectangle() {}
}