public class EXTDisplaySurfaceCounter
extends java.lang.Object
VkSurfaceKHR object.
VK_EXT_display_surface_counterVK_KHR_display| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT
Extends
VkStructureType. |
static int |
VK_SURFACE_COUNTER_VBLANK_EXT
VkSurfaceCounterFlagBitsEXT - Surface-relative counter types
|
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetPhysicalDeviceSurfaceCapabilities2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long surface,
long pSurfaceCapabilities)
Unsafe version of:
GetPhysicalDeviceSurfaceCapabilities2EXT |
static int |
vkGetPhysicalDeviceSurfaceCapabilities2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long surface,
VkSurfaceCapabilities2EXT pSurfaceCapabilities)
Query surface capabilities.
|
public static final int VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION
public static final java.lang.String VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT
VkStructureType.
public static final int VK_SURFACE_COUNTER_VBLANK_EXT
SURFACE_COUNTER_VBLANK_EXT specifies a counter incrementing once every time a vertical blanking period occurs on the display associated with the surface.VkSurfaceCounterFlagsEXT, GetSwapchainCounterEXT
public static int nvkGetPhysicalDeviceSurfaceCapabilities2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long surface,
long pSurfaceCapabilities)
GetPhysicalDeviceSurfaceCapabilities2EXTpublic static int vkGetPhysicalDeviceSurfaceCapabilities2EXT(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long surface,
VkSurfaceCapabilities2EXT pSurfaceCapabilities)
To query the basic capabilities of a surface, needed in order to create a swapchain, call:
VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT(
VkPhysicalDevice physicalDevice,
VkSurfaceKHR surface,
VkSurfaceCapabilities2EXT* pSurfaceCapabilities);
vkGetPhysicalDeviceSurfaceCapabilities2EXT behaves similarly to GetPhysicalDeviceSurfaceCapabilitiesKHR, with the ability to return extended information by adding extension structures to the pNext chain of its pSurfaceCapabilities parameter.
physicalDevice must be a valid VkPhysicalDevice handlesurface must be a valid VkSurfaceKHR handlepSurfaceCapabilities must be a valid pointer to a VkSurfaceCapabilities2EXT structurephysicalDevice, and surface must have been created, allocated, or retrieved from the same VkInstancephysicalDevice - the physical device that will be associated with the swapchain to be created, as described for CreateSwapchainKHR.surface - the surface that will be associated with the swapchain.pSurfaceCapabilities - a pointer to a VkSurfaceCapabilities2EXT structure in which the capabilities are returned.Copyright LWJGL. All Rights Reserved. License terms.