Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VkExternalMemoryHandleTypeFlagBitsNV = VkExternalMemoryHandleTypeFlagBitsNV VkFlags
- pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV
- pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV
- pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV
- pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV
- newtype VkExternalMemoryFeatureFlagBitsNV = VkExternalMemoryFeatureFlagBitsNV VkFlags
- pattern VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV :: VkExternalMemoryFeatureFlagBitsNV
- pattern VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV :: VkExternalMemoryFeatureFlagBitsNV
- pattern VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV :: VkExternalMemoryFeatureFlagBitsNV
- pattern VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION :: Integral a => a
- pattern VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME :: (Eq a, IsString a) => a
- vkGetPhysicalDeviceExternalImageFormatPropertiesNV :: ("physicalDevice" ::: VkPhysicalDevice) -> ("format" ::: VkFormat) -> ("type" ::: VkImageType) -> ("tiling" ::: VkImageTiling) -> ("usage" ::: VkImageUsageFlags) -> ("flags" ::: VkImageCreateFlags) -> ("externalHandleType" ::: VkExternalMemoryHandleTypeFlagsNV) -> ("pExternalImageFormatProperties" ::: Ptr VkExternalImageFormatPropertiesNV) -> IO VkResult
- data VkExternalImageFormatPropertiesNV = VkExternalImageFormatPropertiesNV {}
- type VkExternalMemoryHandleTypeFlagsNV = VkExternalMemoryHandleTypeFlagBitsNV
- type VkExternalMemoryFeatureFlagsNV = VkExternalMemoryFeatureFlagBitsNV
Documentation
newtype VkExternalMemoryHandleTypeFlagBitsNV Source #
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
See Also
Instances
pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV Source #
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV
specifies a handle
to memory returned by
vkGetMemoryWin32HandleNV
,
or one duplicated from such a handle using DuplicateHandle()
.
pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV Source #
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV
specifies a
handle to memory returned by
vkGetMemoryWin32HandleNV
.
pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV Source #
VK_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()
.
pattern VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV :: VkExternalMemoryHandleTypeFlagBitsNV Source #
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV
specifies a
handle to memory returned by IDXGIResource::GetSharedHandle()
.
newtype VkExternalMemoryFeatureFlagBitsNV Source #
VkExternalMemoryFeatureFlagBitsNV - Bitmask specifying external memory features
See Also
VkExternalImageFormatPropertiesNV
, VkExternalMemoryFeatureFlagsNV
,
vkGetPhysicalDeviceExternalImageFormatPropertiesNV
Instances
pattern VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV :: VkExternalMemoryFeatureFlagBitsNV Source #
VK_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.
pattern VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV :: VkExternalMemoryFeatureFlagBitsNV Source #
VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV
specifies that the
implementation supports exporting handles of the specified type.
pattern VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV :: VkExternalMemoryFeatureFlagBitsNV Source #
VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV
specifies that the
implementation supports importing handles of the specified type.
pattern VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION :: Integral a => a Source #
pattern VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
vkGetPhysicalDeviceExternalImageFormatPropertiesNV :: ("physicalDevice" ::: VkPhysicalDevice) -> ("format" ::: VkFormat) -> ("type" ::: VkImageType) -> ("tiling" ::: VkImageTiling) -> ("usage" ::: VkImageUsageFlags) -> ("flags" ::: VkImageCreateFlags) -> ("externalHandleType" ::: VkExternalMemoryHandleTypeFlagsNV) -> ("pExternalImageFormatProperties" ::: Ptr VkExternalImageFormatPropertiesNV) -> IO VkResult Source #
vkGetPhysicalDeviceExternalImageFormatPropertiesNV - determine image capabilities compatible with external memory handle types
Parameters
physicalDevice
is the physical device from which to query the image capabilities
format
is the image format, corresponding toVkImageCreateInfo
::format
.type
is the image type, corresponding toVkImageCreateInfo
::imageType
.tiling
is the image tiling, corresponding toVkImageCreateInfo
::tiling
.usage
is the intended usage of the image, corresponding toVkImageCreateInfo
::usage
.flags
is a bitmask describing additional parameters of the image, corresponding toVkImageCreateInfo
::flags
.externalHandleType
is either one of the bits fromVkExternalMemoryHandleTypeFlagBitsNV
, or 0.pExternalImageFormatProperties
points to an instance of theVkExternalImageFormatPropertiesNV
structure in which capabilities are returned.
Description
If externalHandleType
is 0,
pExternalImageFormatProperties
::imageFormatProperties will return the
same values as a call to
vkGetPhysicalDeviceImageFormatProperties
,
and the other members of pExternalImageFormatProperties
will all be 0.
Otherwise, they are filled in as described for
VkExternalImageFormatPropertiesNV
.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
format
must be a validVkFormat
valuetype
must be a validVkImageType
valuetiling
must be a validVkImageTiling
valueusage
must be a valid combination ofVkImageUsageFlagBits
valuesusage
must not be0
flags
must be a valid combination ofVkImageCreateFlagBits
valuesexternalHandleType
must be a valid combination ofVkExternalMemoryHandleTypeFlagBitsNV
valuespExternalImageFormatProperties
must be a valid pointer to aVkExternalImageFormatPropertiesNV
structure
Return Codes
[Success]
- VK_SUCCESS
[Failure]
- VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_FORMAT_NOT_SUPPORTED
See Also
VkExternalImageFormatPropertiesNV
,
VkExternalMemoryHandleTypeFlagsNV
,
VkFormat
,
VkImageCreateFlags
,
VkImageTiling
,
VkImageType
,
VkImageUsageFlags
,
VkPhysicalDevice
data VkExternalImageFormatPropertiesNV Source #
VkExternalImageFormatPropertiesNV - Structure specifying external image format properties
See Also
VkExternalMemoryFeatureFlagsNV
, VkExternalMemoryHandleTypeFlagsNV
,
VkImageFormatProperties
,
vkGetPhysicalDeviceExternalImageFormatPropertiesNV
VkExternalImageFormatPropertiesNV | |
|
Instances
type VkExternalMemoryHandleTypeFlagsNV = VkExternalMemoryHandleTypeFlagBitsNV Source #
VkExternalMemoryHandleTypeFlagsNV - Bitmask of VkExternalMemoryHandleTypeFlagBitsNV
Description
VkExternalMemoryHandleTypeFlagsNV
is a bitmask type for setting a mask
of zero or more VkExternalMemoryHandleTypeFlagBitsNV
.
See Also
VkExportMemoryAllocateInfoNV
,
VkExternalImageFormatPropertiesNV
,
VkExternalMemoryHandleTypeFlagBitsNV
,
VkExternalMemoryImageCreateInfoNV
,
VkImportMemoryWin32HandleInfoNV
,
vkGetMemoryWin32HandleNV
,
vkGetPhysicalDeviceExternalImageFormatPropertiesNV
type VkExternalMemoryFeatureFlagsNV = VkExternalMemoryFeatureFlagBitsNV Source #
VkExternalMemoryFeatureFlagsNV - Bitmask of VkExternalMemoryFeatureFlagBitsNV
Description
VkExternalMemoryFeatureFlagsNV
is a bitmask type for setting a mask of
zero or more VkExternalMemoryFeatureFlagBitsNV
.
See Also
VkExternalImageFormatPropertiesNV
, VkExternalMemoryFeatureFlagBitsNV