Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class VKCapabilitiesInstance

extends Object
Class Inheritance
Annotations
@SuppressWarnings:SimplifiableIfStatement
Imports
org.lwjgl.system.*, java.util.Set

Reports the enabled capabilities and function pointers of a Vulkan VkInstance.

The addresses are cached for future use. This class also allows developers to query the capabilities made available to the Vulkan instance handle.

Field Summary

Modifier and TypeField and Description
public final int
apiVersion

The Vulkan API version number.

public final boolean
public final boolean
public final boolean
VK_EXT_debug_report

When true, EXTDebugReport is supported.

public final boolean
VK_EXT_debug_utils

When true, EXTDebugUtils is supported.

public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
VK_EXT_metal_surface

When true, EXTMetalSurface is supported.

public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
VK_KHR_android_surface

When true, KHRAndroidSurface is supported.

public final boolean
public final boolean
VK_KHR_display

When true, KHRDisplay is supported.

public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
public final boolean
VK_KHR_surface

When true, KHRSurface is supported.

public final boolean
public final boolean
VK_KHR_wayland_surface

When true, KHRWaylandSurface is supported.

public final boolean
VK_KHR_win32_surface

When true, KHRWin32Surface is supported.

public final boolean
VK_KHR_xcb_surface

When true, KHRXcbSurface is supported.

public final boolean
VK_KHR_xlib_surface

When true, KHRXlibSurface is supported.

public final boolean
public final boolean
VK_MVK_macos_surface

When true, MVKMacosSurface is supported.

public final boolean
public final long
vkAcquireDrmDisplayEXT

Function pointers for EXT_acquire_drm_display

public final long
vkAcquireWinrtDisplayNV

Function pointers for NV_acquire_winrt_display

public final long
vkAcquireXlibDisplayEXT

Function pointers for EXT_acquire_xlib_display

public final long
vkCmdBeginDebugUtilsLabelEXT

Function pointers for EXT_debug_utils

public final long
vkCmdEndDebugUtilsLabelEXT

Function pointers for EXT_debug_utils

public final long
vkCmdInsertDebugUtilsLabelEXT

Function pointers for EXT_debug_utils

public final long
vkCreateAndroidSurfaceKHR

Function pointers for KHR_android_surface

public final long
vkCreateDebugReportCallbackEXT

Function pointers for EXT_debug_report

public final long
vkCreateDebugUtilsMessengerEXT

Function pointers for EXT_debug_utils

public final long
vkCreateDevice

Function pointers for VK10

public final long
vkCreateDirectFBSurfaceEXT

Function pointers for EXT_directfb_surface

public final long
vkCreateDisplayModeKHR

Function pointers for KHR_display

public final long
vkCreateDisplayPlaneSurfaceKHR

Function pointers for KHR_display

public final long
vkCreateHeadlessSurfaceEXT

Function pointers for EXT_headless_surface

public final long
vkCreateMacOSSurfaceMVK

Function pointers for MVK_macos_surface

public final long
vkCreateMetalSurfaceEXT

Function pointers for EXT_metal_surface

public final long
vkCreateWaylandSurfaceKHR

Function pointers for KHR_wayland_surface

public final long
vkCreateWin32SurfaceKHR

Function pointers for KHR_win32_surface

public final long
vkCreateXcbSurfaceKHR

Function pointers for KHR_xcb_surface

public final long
vkCreateXlibSurfaceKHR

Function pointers for KHR_xlib_surface

public final long
vkDebugReportMessageEXT

Function pointers for EXT_debug_report

public final long
vkDestroyDebugReportCallbackEXT

Function pointers for EXT_debug_report

public final long
vkDestroyDebugUtilsMessengerEXT

Function pointers for EXT_debug_utils

public final long
vkDestroyInstance

Function pointers for VK10

public final long
vkDestroySurfaceKHR

Function pointers for KHR_surface

public final long
vkEnumerateDeviceExtensionProperties

Function pointers for VK10

public final long
vkEnumerateDeviceLayerProperties

Function pointers for VK10

public final long
vkEnumeratePhysicalDeviceGroups

Function pointers for VK11

public final long
vkEnumeratePhysicalDeviceGroupsKHR

Function pointers for KHR_device_group_creation

public final long
vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR

Function pointers for KHR_performance_query

public final long
vkEnumeratePhysicalDevices

Function pointers for VK10

public final long
vkGetDisplayModeProperties2KHR

Function pointers for KHR_get_display_properties2

public final long
vkGetDisplayModePropertiesKHR

Function pointers for KHR_display

public final long
vkGetDisplayPlaneCapabilities2KHR

Function pointers for KHR_get_display_properties2

public final long
vkGetDisplayPlaneCapabilitiesKHR

Function pointers for KHR_display

public final long
vkGetDisplayPlaneSupportedDisplaysKHR

Function pointers for KHR_display

public final long
vkGetDrmDisplayEXT

Function pointers for EXT_acquire_drm_display

public final long
vkGetPhysicalDeviceCalibrateableTimeDomainsEXT

Function pointers for EXT_calibrated_timestamps

public final long
vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR

Function pointers for KHR_cooperative_matrix

public final long
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV

Function pointers for NV_cooperative_matrix

public final long
vkGetPhysicalDeviceDirectFBPresentationSupportEXT

Function pointers for EXT_directfb_surface

public final long
vkGetPhysicalDeviceDisplayPlaneProperties2KHR

Function pointers for KHR_get_display_properties2

public final long
vkGetPhysicalDeviceDisplayPlanePropertiesKHR

Function pointers for KHR_display

public final long
vkGetPhysicalDeviceDisplayProperties2KHR

Function pointers for KHR_get_display_properties2

public final long
vkGetPhysicalDeviceDisplayPropertiesKHR

Function pointers for KHR_display

public final long
public final long
vkGetPhysicalDeviceExternalBufferPropertiesKHR

Function pointers for KHR_external_memory_capabilities

public final long
public final long
vkGetPhysicalDeviceExternalFencePropertiesKHR

Function pointers for KHR_external_fence_capabilities

public final long
vkGetPhysicalDeviceExternalImageFormatPropertiesNV

Function pointers for NV_external_memory_capabilities

public final long
public final long
vkGetPhysicalDeviceExternalSemaphorePropertiesKHR

Function pointers for KHR_external_semaphore_capabilities

public final long
vkGetPhysicalDeviceFeatures

Function pointers for VK10

public final long
vkGetPhysicalDeviceFeatures2

Function pointers for VK11

public final long
vkGetPhysicalDeviceFeatures2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
vkGetPhysicalDeviceFormatProperties

Function pointers for VK10

public final long
vkGetPhysicalDeviceFormatProperties2

Function pointers for VK11

public final long
vkGetPhysicalDeviceFormatProperties2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
vkGetPhysicalDeviceFragmentShadingRatesKHR

Function pointers for KHR_fragment_shading_rate

public final long
vkGetPhysicalDeviceImageFormatProperties

Function pointers for VK10

public final long
public final long
vkGetPhysicalDeviceImageFormatProperties2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
vkGetPhysicalDeviceMemoryProperties

Function pointers for VK10

public final long
vkGetPhysicalDeviceMemoryProperties2

Function pointers for VK11

public final long
vkGetPhysicalDeviceMemoryProperties2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
vkGetPhysicalDeviceMultisamplePropertiesEXT

Function pointers for EXT_sample_locations

public final long
vkGetPhysicalDeviceOpticalFlowImageFormatsNV

Function pointers for NV_optical_flow

public final long
vkGetPhysicalDevicePresentRectanglesKHR

Function pointers for KHR_device_group

public final long
vkGetPhysicalDeviceProperties

Function pointers for VK10

public final long
vkGetPhysicalDeviceProperties2

Function pointers for VK11

public final long
vkGetPhysicalDeviceProperties2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR

Function pointers for KHR_performance_query

public final long
vkGetPhysicalDeviceQueueFamilyProperties

Function pointers for VK10

public final long
public final long
vkGetPhysicalDeviceQueueFamilyProperties2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
public final long
public final long
vkGetPhysicalDeviceSparseImageFormatProperties2KHR

Function pointers for KHR_get_physical_device_properties2

public final long
vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV

Function pointers for NV_coverage_reduction_mode

public final long
vkGetPhysicalDeviceSurfaceCapabilities2EXT

Function pointers for EXT_display_surface_counter

public final long
vkGetPhysicalDeviceSurfaceCapabilities2KHR

Function pointers for KHR_get_surface_capabilities2

public final long
vkGetPhysicalDeviceSurfaceCapabilitiesKHR

Function pointers for KHR_surface

public final long
vkGetPhysicalDeviceSurfaceFormats2KHR

Function pointers for KHR_get_surface_capabilities2

public final long
vkGetPhysicalDeviceSurfaceFormatsKHR

Function pointers for KHR_surface

public final long
vkGetPhysicalDeviceSurfacePresentModes2EXT

Function pointers for EXT_full_screen_exclusive

public final long
vkGetPhysicalDeviceSurfacePresentModesKHR

Function pointers for KHR_surface

public final long
vkGetPhysicalDeviceSurfaceSupportKHR

Function pointers for KHR_surface

public final long
vkGetPhysicalDeviceToolProperties

Function pointers for VK13

public final long
vkGetPhysicalDeviceToolPropertiesEXT

Function pointers for EXT_tooling_info

public final long
vkGetPhysicalDeviceVideoCapabilitiesKHR

Function pointers for KHR_video_queue

public final long
vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR

Function pointers for KHR_video_encode_queue

public final long
vkGetPhysicalDeviceVideoFormatPropertiesKHR

Function pointers for KHR_video_queue

public final long
vkGetPhysicalDeviceWaylandPresentationSupportKHR

Function pointers for KHR_wayland_surface

public final long
vkGetPhysicalDeviceWin32PresentationSupportKHR

Function pointers for KHR_win32_surface

public final long
vkGetPhysicalDeviceXcbPresentationSupportKHR

Function pointers for KHR_xcb_surface

public final long
vkGetPhysicalDeviceXlibPresentationSupportKHR

Function pointers for KHR_xlib_surface

public final long
vkGetRandROutputDisplayEXT

Function pointers for EXT_acquire_xlib_display

public final long
vkGetWinrtDisplayNV

Function pointers for NV_acquire_winrt_display

public final long
vkQueueBeginDebugUtilsLabelEXT

Function pointers for EXT_debug_utils

public final long
vkQueueEndDebugUtilsLabelEXT

Function pointers for EXT_debug_utils

public final long
vkQueueInsertDebugUtilsLabelEXT

Function pointers for EXT_debug_utils

public final long
vkReleaseDisplayEXT

Function pointers for EXT_direct_mode_display

public final long
vkSetDebugUtilsObjectNameEXT

Function pointers for EXT_debug_utils

public final long
vkSetDebugUtilsObjectTagEXT

Function pointers for EXT_debug_utils

public final long
vkSubmitDebugUtilsMessageEXT

Function pointers for EXT_debug_utils

public final boolean
Vulkan10

When true, VK10 is supported.

public final boolean
Vulkan11

When true, VK11 is supported.

public final boolean
Vulkan12

When true, VK12 is supported.

public final boolean
Vulkan13

When true, VK13 is supported.

Constructor Summary

AccessConstructor and Description
pack-priv
VKCapabilitiesInstance(FunctionProvider provider, int apiVersion, Set<String> ext, Set<String> deviceExt)

Method Summary

Modifier and TypeMethod and Description
private static boolean
private static boolean
private static boolean
private static boolean
check_EXT_debug_report(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_EXT_debug_utils(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
check_EXT_metal_surface(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
check_EXT_tooling_info(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
private static boolean
check_KHR_device_group(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
check_KHR_display(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
check_KHR_surface(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_KHR_swapchain(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
check_KHR_video_queue(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
check_KHR_win32_surface(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_KHR_xcb_surface(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_KHR_xlib_surface(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_MVK_macos_surface(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
check_NV_optical_flow(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_VK10(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_VK11(FunctionProvider provider, long[] caps, Set<String> ext)

private static boolean
check_VK13(FunctionProvider provider, long[] caps, Set<String> ext)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait