Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createIOSSurfaceMVK :: forall io. MonadIO io => Instance -> IOSSurfaceCreateInfoMVK -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- data IOSSurfaceCreateInfoMVK = IOSSurfaceCreateInfoMVK {
- flags :: IOSSurfaceCreateFlagsMVK
- view :: Ptr ()
- newtype IOSSurfaceCreateFlagsMVK = IOSSurfaceCreateFlagsMVK Flags
- type MVK_IOS_SURFACE_SPEC_VERSION = 2
- pattern MVK_IOS_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type MVK_IOS_SURFACE_EXTENSION_NAME = "VK_MVK_ios_surface"
- pattern MVK_IOS_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- newtype SurfaceKHR = SurfaceKHR Word64
Documentation
:: forall io. MonadIO io | |
=> Instance |
|
-> IOSSurfaceCreateInfoMVK |
|
-> ("allocator" ::: Maybe AllocationCallbacks) |
|
-> io SurfaceKHR |
vkCreateIOSSurfaceMVK - Create a VkSurfaceKHR object for an iOS UIView
Valid Usage (Implicit)
instance
must be a validInstance
handle
pCreateInfo
must be a valid pointer to a validIOSSurfaceCreateInfoMVK
structure- If
pAllocator
is notNULL
,pAllocator
must be a valid pointer to a validAllocationCallbacks
structure pSurface
must be a valid pointer to aSurfaceKHR
handle
Return Codes
See Also
AllocationCallbacks
,
IOSSurfaceCreateInfoMVK
, Instance
,
SurfaceKHR
data IOSSurfaceCreateInfoMVK Source #
VkIOSSurfaceCreateInfoMVK - Structure specifying parameters of a newly created iOS surface object
Valid Usage (Implicit)
See Also
IOSSurfaceCreateFlagsMVK
,
StructureType
, createIOSSurfaceMVK
IOSSurfaceCreateInfoMVK | |
|
Instances
newtype IOSSurfaceCreateFlagsMVK Source #
VkIOSSurfaceCreateFlagsMVK - Reserved for future use
Description
IOSSurfaceCreateFlagsMVK
is a bitmask type for setting a mask, but is
currently reserved for future use.
See Also
Instances
type MVK_IOS_SURFACE_SPEC_VERSION = 2 Source #
pattern MVK_IOS_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
type MVK_IOS_SURFACE_EXTENSION_NAME = "VK_MVK_ios_surface" Source #
pattern MVK_IOS_SURFACE_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
,
createDirectFBSurfaceEXT
,
createDisplayPlaneSurfaceKHR
,
createHeadlessSurfaceEXT
,
createIOSSurfaceMVK
,
createImagePipeSurfaceFUCHSIA
,
createMacOSSurfaceMVK
,
createMetalSurfaceEXT
,
createStreamDescriptorSurfaceGGP
,
createViSurfaceNN
,
createWaylandSurfaceKHR
,
createWin32SurfaceKHR
,
createXcbSurfaceKHR
,
createXlibSurfaceKHR
,
destroySurfaceKHR
,
getDeviceGroupSurfacePresentModesKHR
,
getPhysicalDevicePresentRectanglesKHR
,
getPhysicalDeviceSurfaceCapabilities2EXT
,
getPhysicalDeviceSurfaceCapabilitiesKHR
,
getPhysicalDeviceSurfaceFormatsKHR
,
getPhysicalDeviceSurfacePresentModesKHR
,
getPhysicalDeviceSurfaceSupportKHR