Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR :: VkStructureType
- pattern VK_KHR_IMAGE_FORMAT_LIST_SPEC_VERSION :: Integral a => a
- pattern VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME :: (Eq a, IsString a) => a
- data VkImageFormatListCreateInfoKHR = VkImageFormatListCreateInfoKHR {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkViewFormatCount :: Word32
- vkPViewFormats :: Ptr VkFormat
Documentation
pattern VK_KHR_IMAGE_FORMAT_LIST_SPEC_VERSION :: Integral a => a Source #
pattern VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
data VkImageFormatListCreateInfoKHR Source #
VkImageFormatListCreateInfoKHR - Specify that an image can be used with a particular set of formats
Description
If viewFormatCount
is zero, pViewFormats
is ignored and the image is
created as if the VkImageFormatListCreateInfoKHR
structure were not
included in the pNext
list of
VkImageCreateInfo
.
Valid Usage
- If
viewFormatCount
is not0
, all of the formats in thepViewFormats
array must be compatible with the format specified in theformat
field ofVkImageCreateInfo
, as described in the compatibility table.
- If
VkImageCreateInfo
::flags
does not containVK_IMAGE_CREATE_MUTABLE_FORMAT_BIT
,viewFormatCount
must be0
or1
. - If
viewFormatCount
is not0
,VkImageCreateInfo
::format
must be inpViewFormats
.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR
- If
viewFormatCount
is not0
,pViewFormats
must be a valid pointer to an array ofviewFormatCount
validVkFormat
values
See Also
VkImageFormatListCreateInfoKHR | |
|