Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getPhysicalDeviceSurfaceCapabilities2EXT :: forall io. MonadIO io => PhysicalDevice -> SurfaceKHR -> io SurfaceCapabilities2EXT
- pattern STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT :: StructureType
- data SurfaceCapabilities2EXT = SurfaceCapabilities2EXT {
- minImageCount :: Word32
- maxImageCount :: Word32
- currentExtent :: Extent2D
- minImageExtent :: Extent2D
- maxImageExtent :: Extent2D
- maxImageArrayLayers :: Word32
- supportedTransforms :: SurfaceTransformFlagsKHR
- currentTransform :: SurfaceTransformFlagBitsKHR
- supportedCompositeAlpha :: CompositeAlphaFlagsKHR
- supportedUsageFlags :: ImageUsageFlags
- supportedSurfaceCounters :: SurfaceCounterFlagsEXT
- newtype CompositeAlphaFlagBitsKHR where
- CompositeAlphaFlagBitsKHR Flags
- pattern COMPOSITE_ALPHA_OPAQUE_BIT_KHR :: CompositeAlphaFlagBitsKHR
- pattern COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR :: CompositeAlphaFlagBitsKHR
- pattern COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR :: CompositeAlphaFlagBitsKHR
- pattern COMPOSITE_ALPHA_INHERIT_BIT_KHR :: CompositeAlphaFlagBitsKHR
- type CompositeAlphaFlagsKHR = CompositeAlphaFlagBitsKHR
- newtype SurfaceCounterFlagBitsEXT where
- type SurfaceCounterFlagsEXT = SurfaceCounterFlagBitsEXT
- type EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION = 1
- pattern EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION :: forall a. Integral a => a
- type EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME = "VK_EXT_display_surface_counter"
- pattern EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- newtype SurfaceKHR = SurfaceKHR Word64
- newtype SurfaceTransformFlagBitsKHR where
- SurfaceTransformFlagBitsKHR Flags
- pattern SURFACE_TRANSFORM_IDENTITY_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_ROTATE_90_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_ROTATE_180_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_ROTATE_270_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR :: SurfaceTransformFlagBitsKHR
- pattern SURFACE_TRANSFORM_INHERIT_BIT_KHR :: SurfaceTransformFlagBitsKHR
- type SurfaceTransformFlagsKHR = SurfaceTransformFlagBitsKHR
Documentation
getPhysicalDeviceSurfaceCapabilities2EXT :: forall io. MonadIO io => PhysicalDevice -> SurfaceKHR -> io SurfaceCapabilities2EXT Source #
vkGetPhysicalDeviceSurfaceCapabilities2EXT - Query surface capabilities
Parameters
physicalDevice
is the physical device that will be associated with the swapchain to be created, as described forcreateSwapchainKHR
.
surface
is the surface that will be associated with the swapchain.pSurfaceCapabilities
is a pointer to aSurfaceCapabilities2EXT
structure in which the capabilities are returned.
Description
getPhysicalDeviceSurfaceCapabilities2EXT
behaves similarly to
getPhysicalDeviceSurfaceCapabilitiesKHR
,
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 validPhysicalDevice
handle
surface
must be a validSurfaceKHR
handlepSurfaceCapabilities
must be a valid pointer to aSurfaceCapabilities2EXT
structure- Both of
physicalDevice
, andsurface
must have been created, allocated, or retrieved from the sameInstance
Return Codes
See Also
data SurfaceCapabilities2EXT Source #
VkSurfaceCapabilities2EXT - Structure describing capabilities of a surface
Members
All members of SurfaceCapabilities2EXT
are identical to the
corresponding members of
SurfaceCapabilitiesKHR
where
one exists. The remaining members are:
Valid Usage (Implicit)
See Also
CompositeAlphaFlagsKHR
, Extent2D
,
ImageUsageFlags
,
StructureType
,
SurfaceCounterFlagsEXT
,
SurfaceTransformFlagBitsKHR
,
SurfaceTransformFlagsKHR
,
getPhysicalDeviceSurfaceCapabilities2EXT
SurfaceCapabilities2EXT | |
|
Instances
Show SurfaceCapabilities2EXT Source # | |
Defined in Graphics.Vulkan.Extensions.VK_EXT_display_surface_counter showsPrec :: Int -> SurfaceCapabilities2EXT -> ShowS # show :: SurfaceCapabilities2EXT -> String # showList :: [SurfaceCapabilities2EXT] -> ShowS # | |
FromCStruct SurfaceCapabilities2EXT Source # | |
ToCStruct SurfaceCapabilities2EXT Source # | |
Defined in Graphics.Vulkan.Extensions.VK_EXT_display_surface_counter withCStruct :: SurfaceCapabilities2EXT -> (Ptr SurfaceCapabilities2EXT -> IO b) -> IO b Source # pokeCStruct :: Ptr SurfaceCapabilities2EXT -> SurfaceCapabilities2EXT -> IO b -> IO b Source # withZeroCStruct :: (Ptr SurfaceCapabilities2EXT -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr SurfaceCapabilities2EXT -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero SurfaceCapabilities2EXT Source # | |
newtype CompositeAlphaFlagBitsKHR Source #
VkCompositeAlphaFlagBitsKHR - alpha compositing modes supported on a device
Description
These values are described as follows:
See Also
pattern COMPOSITE_ALPHA_OPAQUE_BIT_KHR :: CompositeAlphaFlagBitsKHR |
|
pattern COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR :: CompositeAlphaFlagBitsKHR |
|
pattern COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR :: CompositeAlphaFlagBitsKHR |
|
pattern COMPOSITE_ALPHA_INHERIT_BIT_KHR :: CompositeAlphaFlagBitsKHR |
|
Instances
newtype SurfaceCounterFlagBitsEXT Source #
VkSurfaceCounterFlagBitsEXT - Surface-relative counter types
See Also
pattern SURFACE_COUNTER_VBLANK_EXT :: SurfaceCounterFlagBitsEXT |
|
Instances
pattern EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME = "VK_EXT_display_surface_counter" Source #
pattern EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
newtype SurfaceKHR Source #
VkSurfaceKHR - Opaque handle to a surface object
Description
The VK_KHR_surface
extension declares the SurfaceKHR
object, and
provides a function for destroying SurfaceKHR
objects. Separate
platform-specific extensions each provide a function for creating a
SurfaceKHR
object for the respective platform. From the application’s
perspective this is an opaque handle, just like the handles of other
Vulkan objects.
See Also
PhysicalDeviceSurfaceInfo2KHR
,
SwapchainCreateInfoKHR
,
createAndroidSurfaceKHR
,
createDisplayPlaneSurfaceKHR
,
createHeadlessSurfaceEXT
,
createIOSSurfaceMVK
,
createImagePipeSurfaceFUCHSIA
,
createMacOSSurfaceMVK
,
createMetalSurfaceEXT
,
createStreamDescriptorSurfaceGGP
,
createViSurfaceNN
,
createWaylandSurfaceKHR
,
createWin32SurfaceKHR
,
createXcbSurfaceKHR
,
createXlibSurfaceKHR
,
destroySurfaceKHR
,
getDeviceGroupSurfacePresentModesKHR
,
getPhysicalDevicePresentRectanglesKHR
,
getPhysicalDeviceSurfaceCapabilities2EXT
,
getPhysicalDeviceSurfaceCapabilitiesKHR
,
getPhysicalDeviceSurfaceFormatsKHR
,
getPhysicalDeviceSurfacePresentModesKHR
,
getPhysicalDeviceSurfaceSupportKHR
Instances
newtype SurfaceTransformFlagBitsKHR Source #
VkSurfaceTransformFlagBitsKHR - presentation transforms supported on a device
See Also
CommandBufferInheritanceRenderPassTransformInfoQCOM
,
DisplaySurfaceCreateInfoKHR
,
RenderPassTransformBeginInfoQCOM
,
SurfaceCapabilities2EXT
,
SurfaceCapabilitiesKHR
,
SurfaceTransformFlagsKHR
,
SwapchainCreateInfoKHR