| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Extensions.VK_KHR_image_format_list
- 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
viewFormatCountis not0, all of the formats in thepViewFormatsarray must be compatible with the format specified in theformatfield ofVkImageCreateInfo, as described in the compatibility table.
- If
VkImageCreateInfo::flagsdoes not containVK_IMAGE_CREATE_MUTABLE_FORMAT_BIT,viewFormatCountmust be0or1. - If
viewFormatCountis not0,VkImageCreateInfo::formatmust be inpViewFormats.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR
- If
viewFormatCountis not0,pViewFormatsmust be a valid pointer to an array ofviewFormatCountvalidVkFormatvalues
See Also
Constructors
| VkImageFormatListCreateInfoKHR | |
Fields
| |