Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getPhysicalDeviceExternalImageFormatPropertiesNV :: PhysicalDevice -> Format -> ImageType -> ImageTiling -> ImageUsageFlags -> ImageCreateFlags -> ("externalHandleType" ::: ExternalMemoryHandleTypeFlagsNV) -> IO ExternalImageFormatPropertiesNV
- data ExternalImageFormatPropertiesNV = ExternalImageFormatPropertiesNV {}
- newtype ExternalMemoryHandleTypeFlagBitsNV where
- ExternalMemoryHandleTypeFlagBitsNV Flags
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- type ExternalMemoryHandleTypeFlagsNV = ExternalMemoryHandleTypeFlagBitsNV
- newtype ExternalMemoryFeatureFlagBitsNV where
- type ExternalMemoryFeatureFlagsNV = ExternalMemoryFeatureFlagBitsNV
- type NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION = 1
- pattern NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION :: forall a. Integral a => a
- type NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME = "VK_NV_external_memory_capabilities"
- pattern NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
getPhysicalDeviceExternalImageFormatPropertiesNV :: PhysicalDevice -> Format -> ImageType -> ImageTiling -> ImageUsageFlags -> ImageCreateFlags -> ("externalHandleType" ::: ExternalMemoryHandleTypeFlagsNV) -> IO ExternalImageFormatPropertiesNV 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 to 'Graphics.Vulkan.Core10.Image.ImageCreateInfo'::'Graphics.Vulkan.Core10.Enums.Format.Format'.type
is the image type, corresponding to 'Graphics.Vulkan.Core10.Image.ImageCreateInfo'::'Graphics.Vulkan.Core10.Enums.ImageType.ImageType'.tiling
is the image tiling, corresponding toImageCreateInfo
::tiling
.usage
is the intended usage of the image, corresponding toImageCreateInfo
::usage
.Flags
is a bitmask describing additional parameters of the image, corresponding to 'Graphics.Vulkan.Core10.Image.ImageCreateInfo'::'Graphics.Vulkan.Core10.BaseType.Flags'.externalHandleType
is either one of the bits fromExternalMemoryHandleTypeFlagBitsNV
, or 0.pExternalImageFormatProperties
is a pointer to aExternalImageFormatPropertiesNV
structure in which capabilities are returned.
Description
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
ExternalImageFormatPropertiesNV
.
Return Codes
See Also
ExternalImageFormatPropertiesNV
, ExternalMemoryHandleTypeFlagsNV
,
Format
,
ImageCreateFlags
,
ImageTiling
,
ImageType
,
ImageUsageFlags
,
PhysicalDevice
data ExternalImageFormatPropertiesNV Source #
VkExternalImageFormatPropertiesNV - Structure specifying external image format properties
See Also
ExternalMemoryFeatureFlagsNV
, ExternalMemoryHandleTypeFlagsNV
,
ImageFormatProperties
,
getPhysicalDeviceExternalImageFormatPropertiesNV
ExternalImageFormatPropertiesNV | |
|
Instances
newtype ExternalMemoryHandleTypeFlagBitsNV Source #
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
See Also
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
Instances
newtype ExternalMemoryFeatureFlagBitsNV Source #
VkExternalMemoryFeatureFlagBitsNV - Bitmask specifying external memory features
See Also
ExternalImageFormatPropertiesNV
, ExternalMemoryFeatureFlagsNV
,
getPhysicalDeviceExternalImageFormatPropertiesNV
pattern EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV :: ExternalMemoryFeatureFlagBitsNV |
|
pattern EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV :: ExternalMemoryFeatureFlagBitsNV |
|
pattern EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV :: ExternalMemoryFeatureFlagBitsNV |
|
Instances
pattern NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME = "VK_NV_external_memory_capabilities" Source #
pattern NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #