vulkan-3.0.0.0: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Synopsis

Documentation

createMetalSurfaceEXT :: Instance -> MetalSurfaceCreateInfoEXT -> ("allocator" ::: Maybe AllocationCallbacks) -> IO SurfaceKHR Source #

vkCreateMetalSurfaceEXT - Create a VkSurfaceKHR object for CAMetalLayer

Parameters

  • Instance is the instance with which to associate the surface.
  • pCreateInfo is a pointer to a MetalSurfaceCreateInfoEXT structure specifying 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 is a pointer to a SurfaceKHR handle in which the created surface object is returned.

Valid Usage (Implicit)

Return Codes

Success
Failure

See Also

AllocationCallbacks, Instance, MetalSurfaceCreateInfoEXT, SurfaceKHR

data MetalSurfaceCreateInfoEXT Source #

VkMetalSurfaceCreateInfoEXT - Structure specifying parameters of a newly created Metal surface object

Valid Usage (Implicit)

See Also

MetalSurfaceCreateFlagsEXT, StructureType, createMetalSurfaceEXT

Constructors

MetalSurfaceCreateInfoEXT 

Fields

Instances
Show MetalSurfaceCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Storable MetalSurfaceCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

FromCStruct MetalSurfaceCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

ToCStruct MetalSurfaceCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Zero MetalSurfaceCreateInfoEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

newtype MetalSurfaceCreateFlagsEXT Source #

Instances
Eq MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Ord MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Read MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Show MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Storable MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Bits MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

Methods

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

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

xor :: MetalSurfaceCreateFlagsEXT -> MetalSurfaceCreateFlagsEXT -> MetalSurfaceCreateFlagsEXT #

complement :: MetalSurfaceCreateFlagsEXT -> MetalSurfaceCreateFlagsEXT #

shift :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

rotate :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

zeroBits :: MetalSurfaceCreateFlagsEXT #

bit :: Int -> MetalSurfaceCreateFlagsEXT #

setBit :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

clearBit :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

complementBit :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

testBit :: MetalSurfaceCreateFlagsEXT -> Int -> Bool #

bitSizeMaybe :: MetalSurfaceCreateFlagsEXT -> Maybe Int #

bitSize :: MetalSurfaceCreateFlagsEXT -> Int #

isSigned :: MetalSurfaceCreateFlagsEXT -> Bool #

shiftL :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

unsafeShiftL :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

shiftR :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

unsafeShiftR :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

rotateL :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

rotateR :: MetalSurfaceCreateFlagsEXT -> Int -> MetalSurfaceCreateFlagsEXT #

popCount :: MetalSurfaceCreateFlagsEXT -> Int #

Zero MetalSurfaceCreateFlagsEXT Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_EXT_metal_surface

pattern EXT_METAL_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #

type EXT_METAL_SURFACE_EXTENSION_NAME = "VK_EXT_metal_surface" Source #

pattern EXT_METAL_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #

newtype SurfaceKHR Source #

Constructors

SurfaceKHR Word64