org.lwjgl.vulkan.EXTProvokingVertex 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 allows changing the provoking vertex convention between Vulkan’s default convention (first vertex) and OpenGL’s convention (last vertex).
*
* This extension is intended for use by API-translation layers that implement APIs like OpenGL on top of Vulkan, and need to match the source API’s provoking vertex convention. Applications using Vulkan directly should use Vulkan’s default convention.
*
* VK_EXT_provoking_vertex
*
*
* - Name String
* - {@code VK_EXT_provoking_vertex}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 255
* - Revision
* - 1
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
* - Requires {@link KHRGetPhysicalDeviceProperties2 VK_KHR_get_physical_device_properties2}
*
* - Special Use
*
* - Contact
*
* - Jesse Hall jessehall
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2021-02-22
* - IP Status
* - No known IP claims.
* - Contributors
*
* - Alexis Hétu, Google
* - Bill Licea-Kane, Qualcomm
* - Daniel Koch, Nvidia
* - Jamie Madill, Google
* - Jan-Harald Fredriksen, Arm
* - Jason Ekstrand, Intel
* - Jeff Bolz, Nvidia
* - Jeff Leger, Qualcomm
* - Jesse Hall, Google
* - Jörg Wagner, Arm
* - Matthew Netsch, Qualcomm
* - Mike Blumenkrantz, Valve
* - Piers Daniell, Nvidia
* - Tobias Hector, AMD
*
*
*/
public final class EXTProvokingVertex {
/** The extension specification version. */
public static final int VK_EXT_PROVOKING_VERTEX_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_EXT_PROVOKING_VERTEX_EXTENSION_NAME = "VK_EXT_provoking_vertex";
/**
* Extends {@code VkStructureType}.
*
* Enum values:
*
*
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT}
* - {@link #VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT}
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT}
*
*/
public static final int
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT = 1000254000,
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT = 1000254001,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT = 1000254002;
/**
* VkProvokingVertexModeEXT - Specify which vertex in a primitive is the provoking vertex
*
* Description
*
*
* - {@link #VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT} specifies that the provoking vertex is the first non-adjacency vertex in the list of vertices used by a primitive.
* - {@link #VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT} specifies that the provoking vertex is the last non-adjacency vertex in the list of vertices used by a primitive.
*
*
* These modes are described more precisely in Primitive Topologies.
*
* See Also
*
* {@link VkPipelineRasterizationProvokingVertexStateCreateInfoEXT}
*/
public static final int
VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT = 0,
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT = 1;
private EXTProvokingVertex() {}
}