Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VkSurfaceCounterFlagBitsEXT = VkSurfaceCounterFlagBitsEXT VkFlags
- pattern VK_SURFACE_COUNTER_VBLANK_EXT :: VkSurfaceCounterFlagBitsEXT
- pattern VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT :: VkStructureType
- pattern VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION :: Integral a => a
- pattern VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME :: (Eq a, IsString a) => a
- pattern VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT :: VkStructureType
- vkGetPhysicalDeviceSurfaceCapabilities2EXT :: ("physicalDevice" ::: VkPhysicalDevice) -> ("surface" ::: VkSurfaceKHR) -> ("pSurfaceCapabilities" ::: Ptr VkSurfaceCapabilities2EXT) -> IO VkResult
- data VkSurfaceCapabilities2EXT = VkSurfaceCapabilities2EXT {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkMinImageCount :: Word32
- vkMaxImageCount :: Word32
- vkCurrentExtent :: VkExtent2D
- vkMinImageExtent :: VkExtent2D
- vkMaxImageExtent :: VkExtent2D
- vkMaxImageArrayLayers :: Word32
- vkSupportedTransforms :: VkSurfaceTransformFlagsKHR
- vkCurrentTransform :: VkSurfaceTransformFlagBitsKHR
- vkSupportedCompositeAlpha :: VkCompositeAlphaFlagsKHR
- vkSupportedUsageFlags :: VkImageUsageFlags
- vkSupportedSurfaceCounters :: VkSurfaceCounterFlagsEXT
- type VkSurfaceCounterFlagsEXT = VkSurfaceCounterFlagBitsEXT
Documentation
newtype VkSurfaceCounterFlagBitsEXT Source #
VkSurfaceCounterFlagBitsEXT - Surface-relative counter types
See Also
Instances
pattern VK_SURFACE_COUNTER_VBLANK_EXT :: VkSurfaceCounterFlagBitsEXT Source #
VK_SURFACE_COUNTER_VBLANK_EXT
specifies a counter incrementing once
every time a vertical blanking period occurs on the display associated
with the surface.
pattern VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION :: Integral a => a Source #
pattern VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
vkGetPhysicalDeviceSurfaceCapabilities2EXT :: ("physicalDevice" ::: VkPhysicalDevice) -> ("surface" ::: VkSurfaceKHR) -> ("pSurfaceCapabilities" ::: Ptr VkSurfaceCapabilities2EXT) -> IO VkResult Source #
vkGetPhysicalDeviceSurfaceCapabilities2EXT - Query surface capabilities
Parameters
physicalDevice
is the physical device that will be associated with the swapchain to be created, as described forvkCreateSwapchainKHR
.
surface
is the surface that will be associated with the swapchain.pSurfaceCapabilities
is a pointer to an instance of theVkSurfaceCapabilities2EXT
structure in which the capabilities are returned.
Description
vkGetPhysicalDeviceSurfaceCapabilities2EXT
behaves similarly to
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
with the ability to return extended information by adding extension
structures to the pNext
chain of its pSurfaceCapabilities
parameter.
Valid Usage (Implicit)
physicalDevice
must be a validVkPhysicalDevice
handle
surface
must be a validVkSurfaceKHR
handlepSurfaceCapabilities
must be a valid pointer to aVkSurfaceCapabilities2EXT
structure- Both of
physicalDevice
, andsurface
must have been created, allocated, or retrieved from the sameVkInstance
Return Codes
[Success]
- VK_SUCCESS
[Failure]
- VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_SURFACE_LOST_KHR
See Also
data VkSurfaceCapabilities2EXT Source #
VkSurfaceCapabilities2EXT - Structure describing capabilities of a surface
Members
All members of VkSurfaceCapabilities2EXT
are identical to the
corresponding members of
VkSurfaceCapabilitiesKHR
where one exists. The remaining members are:
Description
sType
is the type of this structure.
pNext
isNULL
or a pointer to an extension-specific structure.supportedSurfaceCounters
is a bitmask ofVkSurfaceCounterFlagBitsEXT
indicating the supported surface counter types.
Valid Usage
supportedSurfaceCounters
must not includeVK_SURFACE_COUNTER_VBLANK_EXT
unless the surface queried is a display surface.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT
pNext
must beNULL
See Also
VkCompositeAlphaFlagsKHR
,
VkExtent2D
,
VkImageUsageFlags
,
VkStructureType
,
VkSurfaceCounterFlagsEXT
,
VkSurfaceTransformFlagBitsKHR
,
VkSurfaceTransformFlagsKHR
,
vkGetPhysicalDeviceSurfaceCapabilities2EXT
Instances
Eq VkSurfaceCapabilities2EXT Source # | |
Show VkSurfaceCapabilities2EXT Source # | |
showsPrec :: Int -> VkSurfaceCapabilities2EXT -> ShowS # show :: VkSurfaceCapabilities2EXT -> String # showList :: [VkSurfaceCapabilities2EXT] -> ShowS # | |
Storable VkSurfaceCapabilities2EXT Source # | |
sizeOf :: VkSurfaceCapabilities2EXT -> Int # alignment :: VkSurfaceCapabilities2EXT -> Int # peekElemOff :: Ptr VkSurfaceCapabilities2EXT -> Int -> IO VkSurfaceCapabilities2EXT # pokeElemOff :: Ptr VkSurfaceCapabilities2EXT -> Int -> VkSurfaceCapabilities2EXT -> IO () # peekByteOff :: Ptr b -> Int -> IO VkSurfaceCapabilities2EXT # pokeByteOff :: Ptr b -> Int -> VkSurfaceCapabilities2EXT -> IO () # peek :: Ptr VkSurfaceCapabilities2EXT -> IO VkSurfaceCapabilities2EXT # poke :: Ptr VkSurfaceCapabilities2EXT -> VkSurfaceCapabilities2EXT -> IO () # |
type VkSurfaceCounterFlagsEXT = VkSurfaceCounterFlagBitsEXT Source #
VkSurfaceCounterFlagsEXT - Bitmask of VkSurfaceCounterFlagBitsEXT
Description
VkSurfaceCounterFlagsEXT
is a bitmask type for setting a mask of zero
or more VkSurfaceCounterFlagBitsEXT
.
See Also
VkSurfaceCapabilities2EXT
, VkSurfaceCounterFlagBitsEXT
,
VkSwapchainCounterCreateInfoEXT