| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Extensions.VK_KHR_incremental_present
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
swapchainCountmust be the same value asPresentInfoKHR::swapchainCount, wherePresentInfoKHRis included in thepNextchain of thisPresentRegionsKHRstructure
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PRESENT_REGIONS_KHR
- If
pRegionsis notNULL,pRegionsmust be a valid pointer to an array ofswapchainCountvalidPresentRegionKHRstructures swapchainCountmust be greater than0
See Also
Constructors
| PresentRegionsKHR | |
Fields
| |
Instances
| Show PresentRegionsKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods showsPrec :: Int -> PresentRegionsKHR -> ShowS # show :: PresentRegionsKHR -> String # showList :: [PresentRegionsKHR] -> ShowS # | |
| FromCStruct PresentRegionsKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods peekCStruct :: Ptr PresentRegionsKHR -> IO PresentRegionsKHR Source # | |
| ToCStruct PresentRegionsKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods 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 Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods | |
data PresentRegionKHR Source #
VkPresentRegionKHR - Structure containing rectangular region changed by vkQueuePresentKHR for a given VkImage
Valid Usage (Implicit)
- If
rectangleCountis not0, andpRectanglesis notNULL,pRectanglesmust be a valid pointer to an array ofrectangleCountvalidRectLayerKHRstructures
See Also
Constructors
| PresentRegionKHR | |
Fields
| |
Instances
| Show PresentRegionKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods showsPrec :: Int -> PresentRegionKHR -> ShowS # show :: PresentRegionKHR -> String # showList :: [PresentRegionKHR] -> ShowS # | |
| FromCStruct PresentRegionKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods peekCStruct :: Ptr PresentRegionKHR -> IO PresentRegionKHR Source # | |
| ToCStruct PresentRegionKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods 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 Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods | |
data RectLayerKHR Source #
VkRectLayerKHR - Structure containing a rectangle, including layer, changed by vkQueuePresentKHR for a given VkImage
Valid Usage
- The sum of
offsetandextentmust be no greater than theimageExtentmember of theSwapchainCreateInfoKHRstructure passed tocreateSwapchainKHR
layermust be less than theimageArrayLayersmember of theSwapchainCreateInfoKHRstructure 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
Constructors
| RectLayerKHR | |
Instances
| Show RectLayerKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods showsPrec :: Int -> RectLayerKHR -> ShowS # show :: RectLayerKHR -> String # showList :: [RectLayerKHR] -> ShowS # | |
| FromCStruct RectLayerKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods peekCStruct :: Ptr RectLayerKHR -> IO RectLayerKHR Source # | |
| ToCStruct RectLayerKHR Source # | |
Defined in Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods 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 Graphics.Vulkan.Extensions.VK_KHR_incremental_present Methods 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 #