vulkan-2.0.0.1: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Extensions.VK_KHR_mir_surface

Synopsis

Documentation

data MirConnection Source #

Opaque data

data MirSurface Source #

Opaque data

newtype VkMirSurfaceCreateFlagsKHR Source #

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

Methods

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

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

xor :: VkMirSurfaceCreateFlagsKHR -> VkMirSurfaceCreateFlagsKHR -> VkMirSurfaceCreateFlagsKHR #

complement :: VkMirSurfaceCreateFlagsKHR -> VkMirSurfaceCreateFlagsKHR #

shift :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

rotate :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

zeroBits :: VkMirSurfaceCreateFlagsKHR #

bit :: Int -> VkMirSurfaceCreateFlagsKHR #

setBit :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

clearBit :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

complementBit :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

testBit :: VkMirSurfaceCreateFlagsKHR -> Int -> Bool #

bitSizeMaybe :: VkMirSurfaceCreateFlagsKHR -> Maybe Int #

bitSize :: VkMirSurfaceCreateFlagsKHR -> Int #

isSigned :: VkMirSurfaceCreateFlagsKHR -> Bool #

shiftL :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

unsafeShiftL :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

shiftR :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

unsafeShiftR :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

rotateL :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

rotateR :: VkMirSurfaceCreateFlagsKHR -> Int -> VkMirSurfaceCreateFlagsKHR #

popCount :: VkMirSurfaceCreateFlagsKHR -> Int #

FiniteBits VkMirSurfaceCreateFlagsKHR Source # 
Instance details

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

vkCreateMirSurfaceKHR - Create a VkSurfaceKHR object for a Mir window

Parameters

  • instance is the instance to associate the surface with.
  • pCreateInfo is a pointer to an instance of the VkMirSurfaceCreateInfoKHR 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 VkMirSurfaceCreateInfoKHR 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

See Also

VkAllocationCallbacks, VkInstance, VkMirSurfaceCreateInfoKHR, VkSurfaceKHR

vkGetPhysicalDeviceMirPresentationSupportKHR :: ("physicalDevice" ::: VkPhysicalDevice) -> ("queueFamilyIndex" ::: Word32) -> ("connection" ::: Ptr MirConnection) -> IO VkBool32 Source #

vkGetPhysicalDeviceMirPresentationSupportKHR - Query physical device for presentation to Mir

Parameters

  • physicalDevice is the physical device.
  • queueFamilyIndex is the queue family index.
  • connection is a pointer to the MirConnection, and identifies the desired Mir compositor.

Description

This platform-specific function can be called prior to creating a surface.

Valid Usage

  • queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyProperties for the given physicalDevice

Valid Usage (Implicit)

  • physicalDevice must be a valid VkPhysicalDevice handle
  • connection must be a valid pointer to a MirConnection value

See Also

VkPhysicalDevice

data VkMirSurfaceCreateInfoKHR Source #

VkMirSurfaceCreateInfoKHR - Structure specifying parameters of a newly created Mir surface object

Valid Usage

  • connection must point to a valid MirConnection.
  • surface must point to a valid MirSurface.

Valid Usage (Implicit)

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

See Also

VkMirSurfaceCreateFlagsKHR, VkStructureType, vkCreateMirSurfaceKHR

Constructors

VkMirSurfaceCreateInfoKHR 

Fields