vulkan-3.2.0.0: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Synopsis

Documentation

createWaylandSurfaceKHR :: forall io. MonadIO io => Instance -> WaylandSurfaceCreateInfoKHR -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR Source #

vkCreateWaylandSurfaceKHR - Create a SurfaceKHR object for a Wayland window

Parameters

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

Valid Usage (Implicit)

  • instance must be a valid Instance handle

Return Codes

Success
Failure

See Also

AllocationCallbacks, Instance, SurfaceKHR, WaylandSurfaceCreateInfoKHR

getPhysicalDeviceWaylandPresentationSupportKHR :: forall io. MonadIO io => PhysicalDevice -> ("queueFamilyIndex" ::: Word32) -> Ptr Wl_display -> io Bool Source #

vkGetPhysicalDeviceWaylandPresentationSupportKHR - Query physical device for presentation to Wayland

Parameters

  • physicalDevice is the physical device.
  • queueFamilyIndex is the queue family index.
  • display is a pointer to the wl_display associated with a Wayland compositor.

Description

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

Valid Usage (Implicit)

See Also

PhysicalDevice

data WaylandSurfaceCreateInfoKHR Source #

VkWaylandSurfaceCreateInfoKHR - Structure specifying parameters of a newly created Wayland surface object

Valid Usage (Implicit)

See Also

StructureType, WaylandSurfaceCreateFlagsKHR, createWaylandSurfaceKHR

Constructors

WaylandSurfaceCreateInfoKHR 

Fields

Instances
Show WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Storable WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

FromCStruct WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

ToCStruct WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Zero WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

newtype WaylandSurfaceCreateFlagsKHR Source #

Instances
Eq WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Ord WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Read WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Show WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Storable WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Bits WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

Methods

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

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

xor :: WaylandSurfaceCreateFlagsKHR -> WaylandSurfaceCreateFlagsKHR -> WaylandSurfaceCreateFlagsKHR #

complement :: WaylandSurfaceCreateFlagsKHR -> WaylandSurfaceCreateFlagsKHR #

shift :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

rotate :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

zeroBits :: WaylandSurfaceCreateFlagsKHR #

bit :: Int -> WaylandSurfaceCreateFlagsKHR #

setBit :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

clearBit :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

complementBit :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

testBit :: WaylandSurfaceCreateFlagsKHR -> Int -> Bool #

bitSizeMaybe :: WaylandSurfaceCreateFlagsKHR -> Maybe Int #

bitSize :: WaylandSurfaceCreateFlagsKHR -> Int #

isSigned :: WaylandSurfaceCreateFlagsKHR -> Bool #

shiftL :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

unsafeShiftL :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

shiftR :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

unsafeShiftR :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

rotateL :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

rotateR :: WaylandSurfaceCreateFlagsKHR -> Int -> WaylandSurfaceCreateFlagsKHR #

popCount :: WaylandSurfaceCreateFlagsKHR -> Int #

Zero WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_KHR_wayland_surface

type KHR_WAYLAND_SURFACE_EXTENSION_NAME = "VK_KHR_wayland_surface" Source #

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

newtype SurfaceKHR Source #

Constructors

SurfaceKHR Word64