public class NVExternalMemoryCapabilities
extends java.lang.Object
VK_NV_external_memory_capabilitiesVK_KHR_external_memory_capabilities extension
VK_KHR_dedicated_allocation.VK_NV_dedicated_allocation.| Modifier and Type | Field and Description |
|---|---|
static int |
VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV
VkExternalMemoryFeatureFlagBitsNV - Bitmask specifying external memory features
|
static int |
VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV
VkExternalMemoryFeatureFlagBitsNV - Bitmask specifying external memory features
|
static int |
VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV
VkExternalMemoryFeatureFlagBitsNV - Bitmask specifying external memory features
|
static int |
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
|
static int |
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
|
static int |
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
|
static int |
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
|
static java.lang.String |
VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME
The extension name.
|
static int |
VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION
The extension specification version.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetPhysicalDeviceExternalImageFormatPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int format,
int type,
int tiling,
int usage,
int flags,
int externalHandleType,
long pExternalImageFormatProperties)
Unsafe version of:
GetPhysicalDeviceExternalImageFormatPropertiesNV |
static int |
vkGetPhysicalDeviceExternalImageFormatPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int format,
int type,
int tiling,
int usage,
int flags,
int externalHandleType,
VkExternalImageFormatPropertiesNV pExternalImageFormatProperties)
determine image capabilities compatible with external memory handle types.
|
public static final int VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION
public static final java.lang.String VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME
public static final int VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV
EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV.EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV, or one duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV specifies a valid NT handle to memory returned by IDXGIResource1::CreateSharedHandle, or a handle duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV specifies a handle to memory returned by IDXGIResource::GetSharedHandle().VkExternalMemoryHandleTypeFlagsNV
public static final int VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV
EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV.EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV, or one duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV specifies a valid NT handle to memory returned by IDXGIResource1::CreateSharedHandle, or a handle duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV specifies a handle to memory returned by IDXGIResource::GetSharedHandle().VkExternalMemoryHandleTypeFlagsNV
public static final int VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV
EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV.EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV, or one duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV specifies a valid NT handle to memory returned by IDXGIResource1::CreateSharedHandle, or a handle duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV specifies a handle to memory returned by IDXGIResource::GetSharedHandle().VkExternalMemoryHandleTypeFlagsNV
public static final int VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV
EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV.EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV specifies a handle to memory returned by GetMemoryWin32HandleNV, or one duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV specifies a valid NT handle to memory returned by IDXGIResource1::CreateSharedHandle, or a handle duplicated from such a handle using DuplicateHandle().EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV specifies a handle to memory returned by IDXGIResource::GetSharedHandle().VkExternalMemoryHandleTypeFlagsNV
public static final int VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV
EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV specifies that external memory of the specified type must be created as a dedicated allocation when used in the manner specified.EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV specifies that the implementation supports exporting handles of the specified type.EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV specifies that the implementation supports importing handles of the specified type.VkExternalImageFormatPropertiesNV, VkExternalMemoryFeatureFlagsNV, GetPhysicalDeviceExternalImageFormatPropertiesNV
public static final int VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV
EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV specifies that external memory of the specified type must be created as a dedicated allocation when used in the manner specified.EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV specifies that the implementation supports exporting handles of the specified type.EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV specifies that the implementation supports importing handles of the specified type.VkExternalImageFormatPropertiesNV, VkExternalMemoryFeatureFlagsNV, GetPhysicalDeviceExternalImageFormatPropertiesNV
public static final int VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV
EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV specifies that external memory of the specified type must be created as a dedicated allocation when used in the manner specified.EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV specifies that the implementation supports exporting handles of the specified type.EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV specifies that the implementation supports importing handles of the specified type.VkExternalImageFormatPropertiesNV, VkExternalMemoryFeatureFlagsNV, GetPhysicalDeviceExternalImageFormatPropertiesNV
public static int nvkGetPhysicalDeviceExternalImageFormatPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int format,
int type,
int tiling,
int usage,
int flags,
int externalHandleType,
long pExternalImageFormatProperties)
GetPhysicalDeviceExternalImageFormatPropertiesNVpublic static int vkGetPhysicalDeviceExternalImageFormatPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int format,
int type,
int tiling,
int usage,
int flags,
int externalHandleType,
VkExternalImageFormatPropertiesNV pExternalImageFormatProperties)
To determine the image capabilities compatible with an external memory handle type, call:
VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV(
VkPhysicalDevice physicalDevice,
VkFormat format,
VkImageType type,
VkImageTiling tiling,
VkImageUsageFlags usage,
VkImageCreateFlags flags,
VkExternalMemoryHandleTypeFlagsNV externalHandleType,
VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties);
If externalHandleType is 0, pExternalImageFormatProperties->imageFormatProperties will return the same values as a call to GetPhysicalDeviceImageFormatProperties, and the other members of pExternalImageFormatProperties will all be 0. Otherwise, they are filled in as described for VkExternalImageFormatPropertiesNV.
physicalDevice must be a valid VkPhysicalDevice handleformat must be a valid VkFormat valuetype must be a valid VkImageType valuetiling must be a valid VkImageTiling valueusage must be a valid combination of VkImageUsageFlagBits valuesusage must not be 0flags must be a valid combination of VkImageCreateFlagBits valuesexternalHandleType must be a valid combination of VkExternalMemoryHandleTypeFlagBitsNV valuespExternalImageFormatProperties must be a valid pointer to a VkExternalImageFormatPropertiesNV structurephysicalDevice - the physical device from which to query the image capabilitiesformat - the image format, corresponding to VkImageCreateInfo::format.type - the image type, corresponding to VkImageCreateInfo::imageType.tiling - the image tiling, corresponding to VkImageCreateInfo::tiling.usage - the intended usage of the image, corresponding to VkImageCreateInfo::usage.flags - a bitmask describing additional parameters of the image, corresponding to VkImageCreateInfo::flags.externalHandleType - either one of the bits from VkExternalMemoryHandleTypeFlagBitsNV, or 0.pExternalImageFormatProperties - a pointer to a VkExternalImageFormatPropertiesNV structure in which capabilities are returned.Copyright LWJGL. All Rights Reserved. License terms.