vulkan-2.0.0.1: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Extensions.VK_MVK_ios_surface

Synopsis

Documentation

newtype VkIOSSurfaceCreateFlagsMVK Source #

Instances
Eq VkIOSSurfaceCreateFlagsMVK Source # 
Instance details
Ord VkIOSSurfaceCreateFlagsMVK Source # 
Instance details
Read VkIOSSurfaceCreateFlagsMVK Source # 
Instance details
Show VkIOSSurfaceCreateFlagsMVK Source # 
Instance details
Storable VkIOSSurfaceCreateFlagsMVK Source # 
Instance details
Bits VkIOSSurfaceCreateFlagsMVK Source # 
Instance details

Methods

(.&.) :: VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK #

(.|.) :: VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK #

xor :: VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK #

complement :: VkIOSSurfaceCreateFlagsMVK -> VkIOSSurfaceCreateFlagsMVK #

shift :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

rotate :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

zeroBits :: VkIOSSurfaceCreateFlagsMVK #

bit :: Int -> VkIOSSurfaceCreateFlagsMVK #

setBit :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

clearBit :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

complementBit :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

testBit :: VkIOSSurfaceCreateFlagsMVK -> Int -> Bool #

bitSizeMaybe :: VkIOSSurfaceCreateFlagsMVK -> Maybe Int #

bitSize :: VkIOSSurfaceCreateFlagsMVK -> Int #

isSigned :: VkIOSSurfaceCreateFlagsMVK -> Bool #

shiftL :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

unsafeShiftL :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

shiftR :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

unsafeShiftR :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

rotateL :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

rotateR :: VkIOSSurfaceCreateFlagsMVK -> Int -> VkIOSSurfaceCreateFlagsMVK #

popCount :: VkIOSSurfaceCreateFlagsMVK -> Int #

FiniteBits VkIOSSurfaceCreateFlagsMVK Source # 
Instance details

vkCreateIOSSurfaceMVK :: ("instance" ::: VkInstance) -> ("pCreateInfo" ::: Ptr VkIOSSurfaceCreateInfoMVK) -> ("pAllocator" ::: Ptr VkAllocationCallbacks) -> ("pSurface" ::: Ptr VkSurfaceKHR) -> IO VkResult Source #

vkCreateIOSSurfaceMVK - Create a VkSurfaceKHR object for an iOS UIView

Parameters

  • instance is the instance with which to associate the surface.
  • pCreateInfo is a pointer to an instance of the VkIOSSurfaceCreateInfoMVK structure containing parameters affecting the creation of the surface object.
  • pAllocator is the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).
  • pSurface points to a VkSurfaceKHR handle in which the created surface object is returned.

Valid Usage (Implicit)

  • instance must be a valid VkInstance handle
  • pCreateInfo must be a valid pointer to a valid VkIOSSurfaceCreateInfoMVK structure
  • If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
  • pSurface must be a valid pointer to a VkSurfaceKHR handle

Return Codes

[Success] - VK_SUCCESS

[Failure] - VK_ERROR_OUT_OF_HOST_MEMORY

  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

See Also

VkAllocationCallbacks, VkIOSSurfaceCreateInfoMVK, VkInstance, VkSurfaceKHR

data VkIOSSurfaceCreateInfoMVK Source #

VkIOSSurfaceCreateInfoMVK - Structure specifying parameters of a newly created iOS surface object

Valid Usage

  • pView must be a valid UIView and must be backed by a CALayer instance of type CAMetalLayer.

Valid Usage (Implicit)

  • sType must be VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK
  • pNext must be NULL
  • flags must be 0

See Also

VkIOSSurfaceCreateFlagsMVK, VkStructureType, vkCreateIOSSurfaceMVK

Constructors

VkIOSSurfaceCreateInfoMVK 

Fields