org.lwjgl.vulkan.EXTFragmentDensityMap 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 an application to specify areas of the render target where the fragment shader may be invoked fewer times. These fragments are broadcasted out to multiple pixels to cover the render target.
*
* The primary use of this extension is to reduce workloads in areas where lower quality may not be perceived such as the distorted edges of a lens or the periphery of a user’s gaze.
*
* VK_EXT_fragment_density_map
*
*
* - Name String
* - {@code VK_EXT_fragment_density_map}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 219
* - Revision
* - 2
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
* - Requires {@link KHRGetPhysicalDeviceProperties2 VK_KHR_get_physical_device_properties2}
*
* - Contact
*
* - Matthew Netsch mnetsch
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2021-09-30
* - Interactions and External Dependencies
*
* - This extension requires {@code SPV_EXT_fragment_invocation_density}
*
* - Contributors
*
* - Matthew Netsch, Qualcomm Technologies, Inc.
* - Robert VanReenen, Qualcomm Technologies, Inc.
* - Jonathan Wicks, Qualcomm Technologies, Inc.
* - Tate Hornbeck, Qualcomm Technologies, Inc.
* - Sam Holmes, Qualcomm Technologies, Inc.
* - Jeff Leger, Qualcomm Technologies, Inc.
* - Jan-Harald Fredriksen, ARM
* - Jeff Bolz, NVIDIA
* - Pat Brown, NVIDIA
* - Daniel Rakos, AMD
* - Piers Daniell, NVIDIA
*
*
*/
public final class EXTFragmentDensityMap {
/** The extension specification version. */
public static final int VK_EXT_FRAGMENT_DENSITY_MAP_SPEC_VERSION = 2;
/** The extension name. */
public static final String VK_EXT_FRAGMENT_DENSITY_MAP_EXTENSION_NAME = "VK_EXT_fragment_density_map";
/**
* Extends {@code VkStructureType}.
*
* Enum values:
*
*
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT}
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT}
* - {@link #VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT}
*
*/
public static final int
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT = 1000218000,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT = 1000218001,
VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT = 1000218002;
/** Extends {@code VkImageCreateFlagBits}. */
public static final int VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT = 0x4000;
/** Extends {@code VkImageLayout}. */
public static final int VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT = 1000218000;
/** Extends {@code VkAccessFlagBits}. */
public static final int VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT = 0x1000000;
/** Extends {@code VkFormatFeatureFlagBits}. */
public static final int VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x1000000;
/** Extends {@code VkImageUsageFlagBits}. */
public static final int VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x200;
/** Extends {@code VkImageViewCreateFlagBits}. */
public static final int VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT = 0x1;
/** Extends {@code VkPipelineStageFlagBits}. */
public static final int VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT = 0x800000;
/**
* Extends {@code VkSamplerCreateFlagBits}.
*
* Enum values:
*
*
* - {@link #VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT SAMPLER_CREATE_SUBSAMPLED_BIT_EXT}
* - {@link #VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT}
*
*/
public static final int
VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT = 0x1,
VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT = 0x2;
/** Extends {@code VkFormatFeatureFlagBits2KHR}. */
public static final long VK_FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x1000000L;
private EXTFragmentDensityMap() {}
}