Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 :: VkStructureType
- vkGetPhysicalDeviceFeatures2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFeatures" ::: Ptr VkPhysicalDeviceFeatures2) -> IO ()
- vkGetPhysicalDeviceProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pProperties" ::: Ptr VkPhysicalDeviceProperties2) -> IO ()
- vkGetPhysicalDeviceFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("format" ::: VkFormat) -> ("pFormatProperties" ::: Ptr VkFormatProperties2) -> IO ()
- vkGetPhysicalDeviceImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pImageFormatInfo" ::: Ptr VkPhysicalDeviceImageFormatInfo2) -> ("pImageFormatProperties" ::: Ptr VkImageFormatProperties2) -> IO VkResult
- vkGetPhysicalDeviceQueueFamilyProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pQueueFamilyPropertyCount" ::: Ptr Word32) -> ("pQueueFamilyProperties" ::: Ptr VkQueueFamilyProperties2) -> IO ()
- vkGetPhysicalDeviceMemoryProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pMemoryProperties" ::: Ptr VkPhysicalDeviceMemoryProperties2) -> IO ()
- vkGetPhysicalDeviceSparseImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFormatInfo" ::: Ptr VkPhysicalDeviceSparseImageFormatInfo2) -> ("pPropertyCount" ::: Ptr Word32) -> ("pProperties" ::: Ptr VkSparseImageFormatProperties2) -> IO ()
- data VkPhysicalDeviceFeatures2 = VkPhysicalDeviceFeatures2 {}
- data VkPhysicalDeviceProperties2 = VkPhysicalDeviceProperties2 {}
- data VkFormatProperties2 = VkFormatProperties2 {}
- data VkImageFormatProperties2 = VkImageFormatProperties2 {}
- data VkPhysicalDeviceImageFormatInfo2 = VkPhysicalDeviceImageFormatInfo2 {}
- data VkQueueFamilyProperties2 = VkQueueFamilyProperties2 {}
- data VkPhysicalDeviceMemoryProperties2 = VkPhysicalDeviceMemoryProperties2 {}
- data VkSparseImageFormatProperties2 = VkSparseImageFormatProperties2 {}
- data VkPhysicalDeviceSparseImageFormatInfo2 = VkPhysicalDeviceSparseImageFormatInfo2 {}
Documentation
vkGetPhysicalDeviceFeatures2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFeatures" ::: Ptr VkPhysicalDeviceFeatures2) -> IO () Source #
vkGetPhysicalDeviceFeatures2 - Reports capabilities of a physical device
Parameters
physicalDevice
is the physical device from which to query the supported features.
pFeatures
is a pointer to aVkPhysicalDeviceFeatures2
structure in which the physical device features are returned.
Description
Each structure in pFeatures
and its pNext
chain contain members
corresponding to fine-grained features. vkGetPhysicalDeviceFeatures2
writes each member to a boolean value indicating whether that feature is
supported.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
pFeatures
must be a valid pointer to aVkPhysicalDeviceFeatures2
structure
See Also
vkGetPhysicalDeviceProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pProperties" ::: Ptr VkPhysicalDeviceProperties2) -> IO () Source #
vkGetPhysicalDeviceProperties2 - Returns properties of a physical device
Parameters
physicalDevice
is the handle to the physical device whose properties will be queried.
pProperties
points to an instance of theVkPhysicalDeviceProperties2
structure, that will be filled with returned information.
Description
Each structure in pProperties
and its pNext
chain contain members
corresponding to properties or implementation-dependent limits.
vkGetPhysicalDeviceProperties2
writes each member to a value
indicating the value of that property or limit.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
pProperties
must be a valid pointer to aVkPhysicalDeviceProperties2
structure
See Also
vkGetPhysicalDeviceFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("format" ::: VkFormat) -> ("pFormatProperties" ::: Ptr VkFormatProperties2) -> IO () Source #
vkGetPhysicalDeviceFormatProperties2 - Lists physical device’s format capabilities
Parameters
physicalDevice
is the physical device from which to query the format properties.
format
is the format whose properties are queried.pFormatProperties
is a pointer to aVkFormatProperties2
structure in which physical device properties forformat
are returned.
Description
vkGetPhysicalDeviceFormatProperties2
behaves similarly to
vkGetPhysicalDeviceFormatProperties
,
with the ability to return extended information in a pNext
chain of
output structures.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
format
must be a validVkFormat
valuepFormatProperties
must be a valid pointer to aVkFormatProperties2
structure
See Also
vkGetPhysicalDeviceImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pImageFormatInfo" ::: Ptr VkPhysicalDeviceImageFormatInfo2) -> ("pImageFormatProperties" ::: Ptr VkImageFormatProperties2) -> IO VkResult Source #
vkGetPhysicalDeviceImageFormatProperties2 - Lists physical device’s image format capabilities
Parameters
physicalDevice
is the physical device from which to query the image capabilities.
pImageFormatInfo
points to an instance of theVkPhysicalDeviceImageFormatInfo2
structure, describing the parameters that would be consumed byvkCreateImage
.pImageFormatProperties
points to an instance of theVkImageFormatProperties2
structure in which capabilities are returned.
Description
vkGetPhysicalDeviceImageFormatProperties2
behaves similarly to
vkGetPhysicalDeviceImageFormatProperties
,
with the ability to return extended information in a pNext
chain of
output structures.
Valid Usage
- If the
pNext
chain ofpImageFormatProperties
contains an instance ofVkAndroidHardwareBufferUsageANDROID
, thepNext
chain ofpImageFormatInfo
must contain an instance ofVkPhysicalDeviceExternalImageFormatInfo
withhandleType
set toVK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID
.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
pImageFormatInfo
must be a valid pointer to a validVkPhysicalDeviceImageFormatInfo2
structurepImageFormatProperties
must be a valid pointer to aVkImageFormatProperties2
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
VkImageFormatProperties2
,
VkPhysicalDevice
,
VkPhysicalDeviceImageFormatInfo2
vkGetPhysicalDeviceQueueFamilyProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pQueueFamilyPropertyCount" ::: Ptr Word32) -> ("pQueueFamilyProperties" ::: Ptr VkQueueFamilyProperties2) -> IO () Source #
vkGetPhysicalDeviceQueueFamilyProperties2 - Reports properties of the queues of the specified physical device
Parameters
physicalDevice
is the handle to the physical device whose properties will be queried.
pQueueFamilyPropertyCount
is a pointer to an integer related to the number of queue families available or queried, as described invkGetPhysicalDeviceQueueFamilyProperties
.pQueueFamilyProperties
is eitherNULL
or a pointer to an array ofVkQueueFamilyProperties2
structures.
Description
vkGetPhysicalDeviceQueueFamilyProperties2
behaves similarly to
vkGetPhysicalDeviceQueueFamilyProperties
,
with the ability to return extended information in a pNext
chain of
output structures.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
pQueueFamilyPropertyCount
must be a valid pointer to auint32_t
value- If the value referenced by
pQueueFamilyPropertyCount
is not0
, andpQueueFamilyProperties
is notNULL
,pQueueFamilyProperties
must be a valid pointer to an array ofpQueueFamilyPropertyCount
VkQueueFamilyProperties2
structures
See Also
vkGetPhysicalDeviceMemoryProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pMemoryProperties" ::: Ptr VkPhysicalDeviceMemoryProperties2) -> IO () Source #
vkGetPhysicalDeviceMemoryProperties2 - Reports memory information for the specified physical device
Parameters
physicalDevice
is the handle to the device to query.
pMemoryProperties
points to an instance ofVkPhysicalDeviceMemoryProperties2
structure in which the properties are returned.
Description
vkGetPhysicalDeviceMemoryProperties2
behaves similarly to
vkGetPhysicalDeviceMemoryProperties
,
with the ability to return extended information in a pNext
chain of
output structures.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
pMemoryProperties
must be a valid pointer to aVkPhysicalDeviceMemoryProperties2
structure
See Also
vkGetPhysicalDeviceSparseImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFormatInfo" ::: Ptr VkPhysicalDeviceSparseImageFormatInfo2) -> ("pPropertyCount" ::: Ptr Word32) -> ("pProperties" ::: Ptr VkSparseImageFormatProperties2) -> IO () Source #
vkGetPhysicalDeviceSparseImageFormatProperties2 - Retrieve properties of an image format applied to sparse images
Parameters
physicalDevice
is the physical device from which to query the sparse image capabilities.
pFormatInfo
is a pointer to a structure of typeVkPhysicalDeviceSparseImageFormatInfo2
containing input parameters to the command.pPropertyCount
is a pointer to an integer related to the number of sparse format properties available or queried, as described below.pProperties
is eitherNULL
or a pointer to an array ofVkSparseImageFormatProperties2
structures.
Description
vkGetPhysicalDeviceSparseImageFormatProperties2
behaves identically to
vkGetPhysicalDeviceSparseImageFormatProperties
,
with the ability to return extended information by adding extension
structures to the pNext
chain of its pProperties
parameter.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
pFormatInfo
must be a valid pointer to a validVkPhysicalDeviceSparseImageFormatInfo2
structurepPropertyCount
must be a valid pointer to auint32_t
value- If the value referenced by
pPropertyCount
is not0
, andpProperties
is notNULL
,pProperties
must be a valid pointer to an array ofpPropertyCount
VkSparseImageFormatProperties2
structures
See Also
VkPhysicalDevice
,
VkPhysicalDeviceSparseImageFormatInfo2
,
VkSparseImageFormatProperties2
data VkPhysicalDeviceFeatures2 Source #
VkPhysicalDeviceFeatures2 - Structure describing the fine-grained features that can be supported by an implementation
Members
The VkPhysicalDeviceFeatures2
structure is defined as:
Description
sType
is the type of this structure.
pNext
isNULL
or a pointer to an extension-specific structure.features
is a structure of typeVkPhysicalDeviceFeatures
describing the fine-grained features of the Vulkan 1.0 API.
The pNext
chain of this structure is used to extend the structure with
features defined by extensions. This structure can be used in
vkGetPhysicalDeviceFeatures2
or can be in the pNext
chain of a
VkDeviceCreateInfo
structure, in which
case it controls which features are enabled in the device in lieu of
pEnabledFeatures
.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2
See Also
VkPhysicalDeviceFeatures
,
VkStructureType
,
vkGetPhysicalDeviceFeatures2
,
vkGetPhysicalDeviceFeatures2KHR
VkPhysicalDeviceFeatures2 | |
|
Instances
Eq VkPhysicalDeviceFeatures2 Source # | |
Show VkPhysicalDeviceFeatures2 Source # | |
showsPrec :: Int -> VkPhysicalDeviceFeatures2 -> ShowS # show :: VkPhysicalDeviceFeatures2 -> String # showList :: [VkPhysicalDeviceFeatures2] -> ShowS # | |
Storable VkPhysicalDeviceFeatures2 Source # | |
sizeOf :: VkPhysicalDeviceFeatures2 -> Int # alignment :: VkPhysicalDeviceFeatures2 -> Int # peekElemOff :: Ptr VkPhysicalDeviceFeatures2 -> Int -> IO VkPhysicalDeviceFeatures2 # pokeElemOff :: Ptr VkPhysicalDeviceFeatures2 -> Int -> VkPhysicalDeviceFeatures2 -> IO () # peekByteOff :: Ptr b -> Int -> IO VkPhysicalDeviceFeatures2 # pokeByteOff :: Ptr b -> Int -> VkPhysicalDeviceFeatures2 -> IO () # peek :: Ptr VkPhysicalDeviceFeatures2 -> IO VkPhysicalDeviceFeatures2 # poke :: Ptr VkPhysicalDeviceFeatures2 -> VkPhysicalDeviceFeatures2 -> IO () # |
data VkPhysicalDeviceProperties2 Source #
VkPhysicalDeviceProperties2 - Structure specifying physical device properties
Description
The pNext
chain of this structure is used to extend the structure with
properties defined by extensions.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2
- Each
pNext
member of any structure (including this one) in thepNext
chain must be eitherNULL
or a pointer to a valid instance ofVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
,VkPhysicalDeviceConservativeRasterizationPropertiesEXT
,VkPhysicalDeviceDiscardRectanglePropertiesEXT
,VkPhysicalDeviceExternalMemoryHostPropertiesEXT
,VkPhysicalDeviceIDProperties
,VkPhysicalDeviceMaintenance3Properties
,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
,VkPhysicalDeviceMultiviewProperties
,VkPhysicalDevicePointClippingProperties
,VkPhysicalDeviceProtectedMemoryProperties
,VkPhysicalDevicePushDescriptorPropertiesKHR
,VkPhysicalDeviceSampleLocationsPropertiesEXT
,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
,VkPhysicalDeviceShaderCorePropertiesAMD
,VkPhysicalDeviceSubgroupProperties
, orVkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
- Each
sType
member in thepNext
chain must be unique
See Also
VkPhysicalDeviceProperties
,
VkStructureType
,
vkGetPhysicalDeviceProperties2
,
vkGetPhysicalDeviceProperties2KHR
VkPhysicalDeviceProperties2 | |
|
Instances
data VkFormatProperties2 Source #
VkFormatProperties2 - Structure specifying image format properties
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2
pNext
must beNULL
See Also
VkFormatProperties
,
VkStructureType
,
vkGetPhysicalDeviceFormatProperties2
,
vkGetPhysicalDeviceFormatProperties2KHR
VkFormatProperties2 | |
|
Instances
Eq VkFormatProperties2 Source # | |
(==) :: VkFormatProperties2 -> VkFormatProperties2 -> Bool # (/=) :: VkFormatProperties2 -> VkFormatProperties2 -> Bool # | |
Show VkFormatProperties2 Source # | |
showsPrec :: Int -> VkFormatProperties2 -> ShowS # show :: VkFormatProperties2 -> String # showList :: [VkFormatProperties2] -> ShowS # | |
Storable VkFormatProperties2 Source # | |
sizeOf :: VkFormatProperties2 -> Int # alignment :: VkFormatProperties2 -> Int # peekElemOff :: Ptr VkFormatProperties2 -> Int -> IO VkFormatProperties2 # pokeElemOff :: Ptr VkFormatProperties2 -> Int -> VkFormatProperties2 -> IO () # peekByteOff :: Ptr b -> Int -> IO VkFormatProperties2 # pokeByteOff :: Ptr b -> Int -> VkFormatProperties2 -> IO () # peek :: Ptr VkFormatProperties2 -> IO VkFormatProperties2 # poke :: Ptr VkFormatProperties2 -> VkFormatProperties2 -> IO () # |
data VkImageFormatProperties2 Source #
VkImageFormatProperties2 - Structure specifying a image format properties
Description
If the combination of parameters to
vkGetPhysicalDeviceImageFormatProperties2
is not supported by the
implementation for use in vkCreateImage
,
then all members of imageFormatProperties
will be filled with zero.
Note
Filling imageFormatProperties
with zero for unsupported formats is an
exception to the usual rule that output structures have undefined
contents on error. This exception was unintentional, but is preserved
for backwards compatibility. This exeption only applies to
imageFormatProperties
, not sType
, pNext
, or any structures chained
from pNext
.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2
- Each
pNext
member of any structure (including this one) in thepNext
chain must be eitherNULL
or a pointer to a valid instance ofVkAndroidHardwareBufferUsageANDROID
,VkExternalImageFormatProperties
,VkSamplerYcbcrConversionImageFormatProperties
, orVkTextureLODGatherFormatPropertiesAMD
- Each
sType
member in thepNext
chain must be unique
See Also
VkImageFormatProperties
,
VkStructureType
,
vkGetPhysicalDeviceImageFormatProperties2
,
vkGetPhysicalDeviceImageFormatProperties2KHR
VkImageFormatProperties2 | |
|
Instances
Eq VkImageFormatProperties2 Source # | |
Show VkImageFormatProperties2 Source # | |
showsPrec :: Int -> VkImageFormatProperties2 -> ShowS # show :: VkImageFormatProperties2 -> String # showList :: [VkImageFormatProperties2] -> ShowS # | |
Storable VkImageFormatProperties2 Source # | |
sizeOf :: VkImageFormatProperties2 -> Int # alignment :: VkImageFormatProperties2 -> Int # peekElemOff :: Ptr VkImageFormatProperties2 -> Int -> IO VkImageFormatProperties2 # pokeElemOff :: Ptr VkImageFormatProperties2 -> Int -> VkImageFormatProperties2 -> IO () # peekByteOff :: Ptr b -> Int -> IO VkImageFormatProperties2 # pokeByteOff :: Ptr b -> Int -> VkImageFormatProperties2 -> IO () # peek :: Ptr VkImageFormatProperties2 -> IO VkImageFormatProperties2 # poke :: Ptr VkImageFormatProperties2 -> VkImageFormatProperties2 -> IO () # |
data VkPhysicalDeviceImageFormatInfo2 Source #
VkPhysicalDeviceImageFormatInfo2 - Structure specifying image creation parameters
Description
The members of VkPhysicalDeviceImageFormatInfo2
correspond to the
arguments to
vkGetPhysicalDeviceImageFormatProperties
,
with sType
and pNext
added for extensibility.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2
pNext
must beNULL
or a pointer to a valid instance ofVkPhysicalDeviceExternalImageFormatInfo
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
values
See Also
VkFormat
,
VkImageCreateFlags
,
VkImageTiling
,
VkImageType
,
VkImageUsageFlags
,
VkStructureType
,
vkGetPhysicalDeviceImageFormatProperties2
,
vkGetPhysicalDeviceImageFormatProperties2KHR
VkPhysicalDeviceImageFormatInfo2 | |
|
Instances
data VkQueueFamilyProperties2 Source #
VkQueueFamilyProperties2 - Structure providing information about a queue family
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2
pNext
must beNULL
See Also
VkQueueFamilyProperties
,
VkStructureType
,
vkGetPhysicalDeviceQueueFamilyProperties2
,
vkGetPhysicalDeviceQueueFamilyProperties2KHR
VkQueueFamilyProperties2 | |
|
Instances
Eq VkQueueFamilyProperties2 Source # | |
Show VkQueueFamilyProperties2 Source # | |
showsPrec :: Int -> VkQueueFamilyProperties2 -> ShowS # show :: VkQueueFamilyProperties2 -> String # showList :: [VkQueueFamilyProperties2] -> ShowS # | |
Storable VkQueueFamilyProperties2 Source # | |
sizeOf :: VkQueueFamilyProperties2 -> Int # alignment :: VkQueueFamilyProperties2 -> Int # peekElemOff :: Ptr VkQueueFamilyProperties2 -> Int -> IO VkQueueFamilyProperties2 # pokeElemOff :: Ptr VkQueueFamilyProperties2 -> Int -> VkQueueFamilyProperties2 -> IO () # peekByteOff :: Ptr b -> Int -> IO VkQueueFamilyProperties2 # pokeByteOff :: Ptr b -> Int -> VkQueueFamilyProperties2 -> IO () # peek :: Ptr VkQueueFamilyProperties2 -> IO VkQueueFamilyProperties2 # poke :: Ptr VkQueueFamilyProperties2 -> VkQueueFamilyProperties2 -> IO () # |
data VkPhysicalDeviceMemoryProperties2 Source #
VkPhysicalDeviceMemoryProperties2 - Structure specifying physical device memory properties
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2
pNext
must beNULL
See Also
VkPhysicalDeviceMemoryProperties
,
VkStructureType
,
vkGetPhysicalDeviceMemoryProperties2
,
vkGetPhysicalDeviceMemoryProperties2KHR
VkPhysicalDeviceMemoryProperties2 | |
|
Instances
data VkSparseImageFormatProperties2 Source #
VkSparseImageFormatProperties2 - Structure specifying sparse image format properties
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2
pNext
must beNULL
See Also
VkSparseImageFormatProperties
,
VkStructureType
,
vkGetPhysicalDeviceSparseImageFormatProperties2
,
vkGetPhysicalDeviceSparseImageFormatProperties2KHR
VkSparseImageFormatProperties2 | |
|
Instances
data VkPhysicalDeviceSparseImageFormatInfo2 Source #
VkPhysicalDeviceSparseImageFormatInfo2 - Structure specifying sparse image format inputs
Valid Usage
samples
must be a bit value that is set inVkImageFormatProperties
::sampleCounts
returned byvkGetPhysicalDeviceImageFormatProperties
withformat
,type
,tiling
, andusage
equal to those in this command andflags
equal to the value that is set inVkImageCreateInfo
::flags
when the image is created
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2
pNext
must beNULL
format
must be a validVkFormat
valuetype
must be a validVkImageType
valuesamples
must be a validVkSampleCountFlagBits
valueusage
must be a valid combination ofVkImageUsageFlagBits
valuesusage
must not be0
tiling
must be a validVkImageTiling
value
See Also
VkFormat
,
VkImageTiling
,
VkImageType
,
VkImageUsageFlags
,
VkSampleCountFlagBits
,
VkStructureType
,
vkGetPhysicalDeviceSparseImageFormatProperties2
,
vkGetPhysicalDeviceSparseImageFormatProperties2KHR
VkPhysicalDeviceSparseImageFormatInfo2 | |
|