Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PresentRegionsKHR = PresentRegionsKHR {}
- data PresentRegionKHR = PresentRegionKHR {}
- data RectLayerKHR = RectLayerKHR {}
- type KHR_INCREMENTAL_PRESENT_SPEC_VERSION = 1
- pattern KHR_INCREMENTAL_PRESENT_SPEC_VERSION :: forall a. Integral a => a
- type KHR_INCREMENTAL_PRESENT_EXTENSION_NAME = "VK_KHR_incremental_present"
- pattern KHR_INCREMENTAL_PRESENT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PresentRegionsKHR Source #
VkPresentRegionsKHR - Structure hint of rectangular regions changed by vkQueuePresentKHR
Valid Usage
swapchainCount
must be the same value asPresentInfoKHR
::swapchainCount
, wherePresentInfoKHR
is included in thepNext
chain of thisPresentRegionsKHR
structure
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_PRESENT_REGIONS_KHR
- If
pRegions
is notNULL
,pRegions
must be a valid pointer to an array ofswapchainCount
validPresentRegionKHR
structures swapchainCount
must be greater than0
See Also
PresentRegionsKHR | |
|
Instances
Show PresentRegionsKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present showsPrec :: Int -> PresentRegionsKHR -> ShowS # show :: PresentRegionsKHR -> String # showList :: [PresentRegionsKHR] -> ShowS # | |
FromCStruct PresentRegionsKHR Source # | |
ToCStruct PresentRegionsKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present withCStruct :: PresentRegionsKHR -> (Ptr PresentRegionsKHR -> IO b) -> IO b Source # pokeCStruct :: Ptr PresentRegionsKHR -> PresentRegionsKHR -> IO b -> IO b Source # withZeroCStruct :: (Ptr PresentRegionsKHR -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr PresentRegionsKHR -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero PresentRegionsKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present |
data PresentRegionKHR Source #
VkPresentRegionKHR - Structure containing rectangular region changed by vkQueuePresentKHR for a given VkImage
Valid Usage (Implicit)
- If
rectangleCount
is not0
, andpRectangles
is notNULL
,pRectangles
must be a valid pointer to an array ofrectangleCount
validRectLayerKHR
structures
See Also
PresentRegionKHR | |
|
Instances
Show PresentRegionKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present showsPrec :: Int -> PresentRegionKHR -> ShowS # show :: PresentRegionKHR -> String # showList :: [PresentRegionKHR] -> ShowS # | |
FromCStruct PresentRegionKHR Source # | |
ToCStruct PresentRegionKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present withCStruct :: PresentRegionKHR -> (Ptr PresentRegionKHR -> IO b) -> IO b Source # pokeCStruct :: Ptr PresentRegionKHR -> PresentRegionKHR -> IO b -> IO b Source # withZeroCStruct :: (Ptr PresentRegionKHR -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr PresentRegionKHR -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero PresentRegionKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present |
data RectLayerKHR Source #
VkRectLayerKHR - Structure containing a rectangle, including layer, changed by vkQueuePresentKHR for a given VkImage
Valid Usage
- The sum of
offset
andextent
must be no greater than theimageExtent
member of theSwapchainCreateInfoKHR
structure passed tocreateSwapchainKHR
layer
must be less than theimageArrayLayers
member of theSwapchainCreateInfoKHR
structure passed tocreateSwapchainKHR
Some platforms allow the size of a surface to change, and then scale the
pixels of the image to fit the surface. RectLayerKHR
specifies pixels
of the swapchain’s image(s), which will be constant for the life of the
swapchain.
See Also
Instances
Show RectLayerKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present showsPrec :: Int -> RectLayerKHR -> ShowS # show :: RectLayerKHR -> String # showList :: [RectLayerKHR] -> ShowS # | |
FromCStruct RectLayerKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present peekCStruct :: Ptr RectLayerKHR -> IO RectLayerKHR Source # | |
ToCStruct RectLayerKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present withCStruct :: RectLayerKHR -> (Ptr RectLayerKHR -> IO b) -> IO b Source # pokeCStruct :: Ptr RectLayerKHR -> RectLayerKHR -> IO b -> IO b Source # withZeroCStruct :: (Ptr RectLayerKHR -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr RectLayerKHR -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero RectLayerKHR Source # | |
Defined in Vulkan.Extensions.VK_KHR_incremental_present zero :: RectLayerKHR Source # |
type KHR_INCREMENTAL_PRESENT_SPEC_VERSION = 1 Source #
pattern KHR_INCREMENTAL_PRESENT_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_INCREMENTAL_PRESENT_EXTENSION_NAME = "VK_KHR_incremental_present" Source #
pattern KHR_INCREMENTAL_PRESENT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #