vulkan-3.6.2: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_KHR_wayland_surface

Synopsis

Documentation

createWaylandSurfaceKHR Source #

Arguments

:: forall io. MonadIO io 
=> Instance

instance is the instance to associate the surface with.

-> WaylandSurfaceCreateInfoKHR

pCreateInfo is a pointer to a WaylandSurfaceCreateInfoKHR structure containing parameters affecting the creation of the surface object.

-> ("allocator" ::: Maybe AllocationCallbacks)

pAllocator is the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).

-> io SurfaceKHR 

vkCreateWaylandSurfaceKHR - Create a SurfaceKHR object for a Wayland window

Valid Usage (Implicit)

  • instance must be a valid Instance handle

Return Codes

Success
Failure

See Also

AllocationCallbacks, Instance, SurfaceKHR, WaylandSurfaceCreateInfoKHR

getPhysicalDeviceWaylandPresentationSupportKHR Source #

Arguments

:: forall io. MonadIO io 
=> PhysicalDevice

physicalDevice is the physical device.

physicalDevice must be a valid PhysicalDevice handle

-> ("queueFamilyIndex" ::: Word32)

queueFamilyIndex is the queue family index.

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

-> Ptr Wl_display

display is a pointer to the wl_display associated with a Wayland compositor.

display must be a valid pointer to a wl_display value

-> io Bool 

vkGetPhysicalDeviceWaylandPresentationSupportKHR - Query physical device for presentation to Wayland

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

Instances details
Eq WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Show WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Generic WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Associated Types

type Rep WaylandSurfaceCreateInfoKHR :: Type -> Type #

Storable WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

FromCStruct WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

ToCStruct WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Zero WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

type Rep WaylandSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

type Rep WaylandSurfaceCreateInfoKHR = D1 ('MetaData "WaylandSurfaceCreateInfoKHR" "Vulkan.Extensions.VK_KHR_wayland_surface" "vulkan-3.6.2-inplace" 'False) (C1 ('MetaCons "WaylandSurfaceCreateInfoKHR" 'PrefixI 'True) (S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WaylandSurfaceCreateFlagsKHR) :*: (S1 ('MetaSel ('Just "display") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Wl_display)) :*: S1 ('MetaSel ('Just "surface") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Wl_surface)))))

newtype WaylandSurfaceCreateFlagsKHR Source #

VkWaylandSurfaceCreateFlagsKHR - Reserved for future use

Description

WaylandSurfaceCreateFlagsKHR is a bitmask type for setting a mask, but is currently reserved for future use.

See Also

WaylandSurfaceCreateInfoKHR

Instances

Instances details
Eq WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Ord WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Read WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Show WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Storable WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_wayland_surface

Bits WaylandSurfaceCreateFlagsKHR Source # 
Instance details

Defined in 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 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 

Instances

Instances details
Eq SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Ord SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Show SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Storable SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Zero SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

HasObjectType SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

IsHandle SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles