Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_STRUCTURE_TYPE_HDR_METADATA_EXT :: VkStructureType
- pattern VK_EXT_HDR_METADATA_SPEC_VERSION :: Integral a => a
- pattern VK_EXT_HDR_METADATA_EXTENSION_NAME :: (Eq a, IsString a) => a
- vkSetHdrMetadataEXT :: ("device" ::: VkDevice) -> ("swapchainCount" ::: Word32) -> ("pSwapchains" ::: Ptr VkSwapchainKHR) -> ("pMetadata" ::: Ptr VkHdrMetadataEXT) -> IO ()
- data VkXYColorEXT = VkXYColorEXT {}
- data VkHdrMetadataEXT = VkHdrMetadataEXT {}
Documentation
pattern VK_STRUCTURE_TYPE_HDR_METADATA_EXT :: VkStructureType Source #
pattern VK_EXT_HDR_METADATA_SPEC_VERSION :: Integral a => a Source #
pattern VK_EXT_HDR_METADATA_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
vkSetHdrMetadataEXT :: ("device" ::: VkDevice) -> ("swapchainCount" ::: Word32) -> ("pSwapchains" ::: Ptr VkSwapchainKHR) -> ("pMetadata" ::: Ptr VkHdrMetadataEXT) -> IO () Source #
vkSetHdrMetadataEXT - function to set Hdr metadata
Parameters
device
is the logical device where the swapchain(s) were created.
swapchainCount
is the number of swapchains included inpSwapchains
.pSwapchains
is a pointer to the array ofswapchainCount
VkSwapchainKHR
handles.pMetadata
is a pointer to the array ofswapchainCount
VkHdrMetadataEXT
structures.
Valid Usage (Implicit)
device
must be a validVkDevice
handle
pSwapchains
must be a valid pointer to an array ofswapchainCount
validVkSwapchainKHR
handlespMetadata
must be a valid pointer to an array ofswapchainCount
validVkHdrMetadataEXT
structuresswapchainCount
must be greater than0
- Both of
device
, and the elements ofpSwapchains
must have been created, allocated, or retrieved from the sameVkInstance
See Also
data VkXYColorEXT Source #
Instances
Eq VkXYColorEXT Source # | |
(==) :: VkXYColorEXT -> VkXYColorEXT -> Bool # (/=) :: VkXYColorEXT -> VkXYColorEXT -> Bool # | |
Show VkXYColorEXT Source # | |
showsPrec :: Int -> VkXYColorEXT -> ShowS # show :: VkXYColorEXT -> String # showList :: [VkXYColorEXT] -> ShowS # | |
Storable VkXYColorEXT Source # | |
sizeOf :: VkXYColorEXT -> Int # alignment :: VkXYColorEXT -> Int # peekElemOff :: Ptr VkXYColorEXT -> Int -> IO VkXYColorEXT # pokeElemOff :: Ptr VkXYColorEXT -> Int -> VkXYColorEXT -> IO () # peekByteOff :: Ptr b -> Int -> IO VkXYColorEXT # pokeByteOff :: Ptr b -> Int -> VkXYColorEXT -> IO () # peek :: Ptr VkXYColorEXT -> IO VkXYColorEXT # poke :: Ptr VkXYColorEXT -> VkXYColorEXT -> IO () # |
data VkHdrMetadataEXT Source #
VkHdrMetadataEXT - structure to specify Hdr metadata
Description
Note
The validity and use of this data is outside the scope of Vulkan and thus no Valid Usage is given.
See Also
VkHdrMetadataEXT | |
|
Instances
Eq VkHdrMetadataEXT Source # | |
(==) :: VkHdrMetadataEXT -> VkHdrMetadataEXT -> Bool # (/=) :: VkHdrMetadataEXT -> VkHdrMetadataEXT -> Bool # | |
Show VkHdrMetadataEXT Source # | |
showsPrec :: Int -> VkHdrMetadataEXT -> ShowS # show :: VkHdrMetadataEXT -> String # showList :: [VkHdrMetadataEXT] -> ShowS # | |
Storable VkHdrMetadataEXT Source # | |
sizeOf :: VkHdrMetadataEXT -> Int # alignment :: VkHdrMetadataEXT -> Int # peekElemOff :: Ptr VkHdrMetadataEXT -> Int -> IO VkHdrMetadataEXT # pokeElemOff :: Ptr VkHdrMetadataEXT -> Int -> VkHdrMetadataEXT -> IO () # peekByteOff :: Ptr b -> Int -> IO VkHdrMetadataEXT # pokeByteOff :: Ptr b -> Int -> VkHdrMetadataEXT -> IO () # peek :: Ptr VkHdrMetadataEXT -> IO VkHdrMetadataEXT # poke :: Ptr VkHdrMetadataEXT -> VkHdrMetadataEXT -> IO () # |