Package org.lwjgl.vulkan
Class KHRGetPhysicalDeviceProperties2
java.lang.Object
org.lwjgl.vulkan.KHRGetPhysicalDeviceProperties2
This extension provides new queries for device features, device properties, and format properties that can be easily extended by other extensions, without introducing any further queries. The Vulkan 1.0 feature/limit/formatproperty structures do not include
sType/pNext members. This extension wraps them in new structures with sType/pNext members, so an application can query a chain of feature/limit/formatproperty structures by constructing the chain and letting the implementation fill them in. A new command is added for each vkGetPhysicalDevice* command in core Vulkan 1.0. The new feature structure (and a pNext chain of extending structures) can also be passed in to device creation to enable features.
This extension also allows applications to use the physical-device components of device extensions before CreateDevice is called.
Promotion to Vulkan 1.1
All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. The original type, enum, and command names are still available as aliases of the core functionality.
Examples
// Get features with a hypothetical future extension.
VkHypotheticalExtensionFeaturesKHR hypotheticalFeatures =
{
.sType = VK_STRUCTURE_TYPE_HYPOTHETICAL_FEATURES_KHR,
.pNext = NULL,
};
VkPhysicalDeviceFeatures2KHR features =
{
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR,
.pNext = &hypotheticalFeatures,
};
// After this call, features and hypotheticalFeatures have been filled out.
vkGetPhysicalDeviceFeatures2KHR(physicalDevice, &features);
// Properties/limits can be chained and queried similarly.
// Enable some features:
VkHypotheticalExtensionFeaturesKHR enabledHypotheticalFeatures =
{
.sType = VK_STRUCTURE_TYPE_HYPOTHETICAL_FEATURES_KHR,
.pNext = NULL,
};
VkPhysicalDeviceFeatures2KHR enabledFeatures =
{
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR,
.pNext = &enabledHypotheticalFeatures,
};
enabledFeatures.features.xyz = VK_TRUE;
enabledHypotheticalFeatures.abc = VK_TRUE;
VkDeviceCreateInfo deviceCreateInfo =
{
.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO,
.pNext = &enabledFeatures,
...
.pEnabledFeatures = NULL,
};
VkDevice device;
vkCreateDevice(physicalDevice, &deviceCreateInfo, NULL, &device);
- Name String
VK_KHR_get_physical_device_properties2- Extension Type
- Instance extension
- Registered Extension Number
- 60
- Revision
- 2
- Deprecation State
- Promoted to Vulkan 1.1
- Contact
- Jeff Bolz jeffbolznv
Other Extension Metadata
- Last Modified Date
- 2017-09-05
- IP Status
- No known IP claims.
- Contributors
- Jeff Bolz, NVIDIA
- Ian Elliott, Google
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidnvkGetPhysicalDeviceFeatures2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pFeatures) Unsafe version of:GetPhysicalDeviceFeatures2KHRstatic voidnvkGetPhysicalDeviceFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int format, long pFormatProperties) Unsafe version of:GetPhysicalDeviceFormatProperties2KHRstatic intnvkGetPhysicalDeviceImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pImageFormatInfo, long pImageFormatProperties) Unsafe version of:GetPhysicalDeviceImageFormatProperties2KHRstatic voidnvkGetPhysicalDeviceMemoryProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pMemoryProperties) Unsafe version of:GetPhysicalDeviceMemoryProperties2KHRstatic voidnvkGetPhysicalDeviceProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pProperties) Unsafe version of:GetPhysicalDeviceProperties2KHRstatic voidnvkGetPhysicalDeviceQueueFamilyProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pQueueFamilyPropertyCount, long pQueueFamilyProperties) Unsafe version of:GetPhysicalDeviceQueueFamilyProperties2KHRstatic voidnvkGetPhysicalDeviceSparseImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pFormatInfo, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceSparseImageFormatProperties2KHRstatic voidvkGetPhysicalDeviceFeatures2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2 pFeatures) static voidvkGetPhysicalDeviceFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int format, VkFormatProperties2 pFormatProperties) static intvkGetPhysicalDeviceImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceImageFormatInfo2 pImageFormatInfo, VkImageFormatProperties2 pImageFormatProperties) static voidvkGetPhysicalDeviceMemoryProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 pMemoryProperties) static voidvkGetPhysicalDeviceProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2 pProperties) static voidvkGetPhysicalDeviceQueueFamilyProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pQueueFamilyPropertyCount, @Nullable VkQueueFamilyProperties2.Buffer pQueueFamilyProperties) Array version of:GetPhysicalDeviceQueueFamilyProperties2KHRstatic voidvkGetPhysicalDeviceQueueFamilyProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pQueueFamilyPropertyCount, @Nullable VkQueueFamilyProperties2.Buffer pQueueFamilyProperties) static voidvkGetPhysicalDeviceSparseImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2 pFormatInfo, int[] pPropertyCount, @Nullable VkSparseImageFormatProperties2.Buffer pProperties) Array version of:GetPhysicalDeviceSparseImageFormatProperties2KHRstatic voidvkGetPhysicalDeviceSparseImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2 pFormatInfo, IntBuffer pPropertyCount, @Nullable VkSparseImageFormatProperties2.Buffer pProperties)
-
Field Details
-
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION
public static final int VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHRSTRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHRSTRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHRSTRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
- See Also:
-
-
Method Details
-
nvkGetPhysicalDeviceFeatures2KHR
public static void nvkGetPhysicalDeviceFeatures2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pFeatures) Unsafe version of:GetPhysicalDeviceFeatures2KHR -
vkGetPhysicalDeviceFeatures2KHR
public static void vkGetPhysicalDeviceFeatures2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2 pFeatures) - Parameters:
physicalDevice- the physical device from which to query the supported features.pFeatures- a pointer to aVkPhysicalDeviceFeatures2structure in which the physical device features are returned.
-
nvkGetPhysicalDeviceProperties2KHR
public static void nvkGetPhysicalDeviceProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pProperties) Unsafe version of:GetPhysicalDeviceProperties2KHR -
vkGetPhysicalDeviceProperties2KHR
public static void vkGetPhysicalDeviceProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2 pProperties) - Parameters:
physicalDevice- the handle to the physical device whose properties will be queried.pProperties- a pointer to aVkPhysicalDeviceProperties2structure in which properties are returned.
-
nvkGetPhysicalDeviceFormatProperties2KHR
public static void nvkGetPhysicalDeviceFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int format, long pFormatProperties) Unsafe version of:GetPhysicalDeviceFormatProperties2KHR -
vkGetPhysicalDeviceFormatProperties2KHR
public static void vkGetPhysicalDeviceFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int format, VkFormatProperties2 pFormatProperties) - Parameters:
physicalDevice- the physical device from which to query the format properties.format- the format whose properties are queried.pFormatProperties- a pointer to aVkFormatProperties2structure in which physical device properties forformatare returned.
-
nvkGetPhysicalDeviceImageFormatProperties2KHR
public static int nvkGetPhysicalDeviceImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pImageFormatInfo, long pImageFormatProperties) Unsafe version of:GetPhysicalDeviceImageFormatProperties2KHR -
vkGetPhysicalDeviceImageFormatProperties2KHR
public static int vkGetPhysicalDeviceImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceImageFormatInfo2 pImageFormatInfo, VkImageFormatProperties2 pImageFormatProperties) - Parameters:
physicalDevice- the physical device from which to query the image capabilities.pImageFormatInfo- a pointer to aVkPhysicalDeviceImageFormatInfo2structure describing the parameters that would be consumed byCreateImage.pImageFormatProperties- a pointer to aVkImageFormatProperties2structure in which capabilities are returned.
-
nvkGetPhysicalDeviceQueueFamilyProperties2KHR
public static void nvkGetPhysicalDeviceQueueFamilyProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pQueueFamilyPropertyCount, long pQueueFamilyProperties) Unsafe version of:GetPhysicalDeviceQueueFamilyProperties2KHR- Parameters:
pQueueFamilyPropertyCount- a pointer to an integer related to the number of queue families available or queried, as described inGetPhysicalDeviceQueueFamilyProperties.
-
vkGetPhysicalDeviceQueueFamilyProperties2KHR
public static void vkGetPhysicalDeviceQueueFamilyProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pQueueFamilyPropertyCount, @Nullable VkQueueFamilyProperties2.Buffer pQueueFamilyProperties) - Parameters:
physicalDevice- the handle to the physical device whose properties will be queried.pQueueFamilyPropertyCount- a pointer to an integer related to the number of queue families available or queried, as described inGetPhysicalDeviceQueueFamilyProperties.pQueueFamilyProperties- eitherNULLor a pointer to an array ofVkQueueFamilyProperties2structures.
-
nvkGetPhysicalDeviceMemoryProperties2KHR
public static void nvkGetPhysicalDeviceMemoryProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pMemoryProperties) Unsafe version of:GetPhysicalDeviceMemoryProperties2KHR -
vkGetPhysicalDeviceMemoryProperties2KHR
public static void vkGetPhysicalDeviceMemoryProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 pMemoryProperties) - Parameters:
physicalDevice- the handle to the device to query.pMemoryProperties- a pointer to aVkPhysicalDeviceMemoryProperties2structure in which the properties are returned.
-
nvkGetPhysicalDeviceSparseImageFormatProperties2KHR
public static void nvkGetPhysicalDeviceSparseImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pFormatInfo, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceSparseImageFormatProperties2KHR- Parameters:
pPropertyCount- a pointer to an integer related to the number of sparse format properties available or queried, as described below.
-
vkGetPhysicalDeviceSparseImageFormatProperties2KHR
public static void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2 pFormatInfo, IntBuffer pPropertyCount, @Nullable VkSparseImageFormatProperties2.Buffer pProperties) - Parameters:
physicalDevice- the physical device from which to query the sparse image format properties.pFormatInfo- a pointer to aVkPhysicalDeviceSparseImageFormatInfo2structure containing input parameters to the command.pPropertyCount- a pointer to an integer related to the number of sparse format properties available or queried, as described below.pProperties- eitherNULLor a pointer to an array ofVkSparseImageFormatProperties2structures.
-
vkGetPhysicalDeviceQueueFamilyProperties2KHR
public static void vkGetPhysicalDeviceQueueFamilyProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pQueueFamilyPropertyCount, @Nullable VkQueueFamilyProperties2.Buffer pQueueFamilyProperties) Array version of:GetPhysicalDeviceQueueFamilyProperties2KHR -
vkGetPhysicalDeviceSparseImageFormatProperties2KHR
public static void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2 pFormatInfo, int[] pPropertyCount, @Nullable VkSparseImageFormatProperties2.Buffer pProperties) Array version of:GetPhysicalDeviceSparseImageFormatProperties2KHR
-