| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_KHR_wayland_surface
Synopsis
- createWaylandSurfaceKHR :: forall io. MonadIO io => Instance -> WaylandSurfaceCreateInfoKHR -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- getPhysicalDeviceWaylandPresentationSupportKHR :: forall io. MonadIO io => PhysicalDevice -> ("queueFamilyIndex" ::: Word32) -> Ptr Wl_display -> io Bool
- data WaylandSurfaceCreateInfoKHR = WaylandSurfaceCreateInfoKHR {}
- newtype WaylandSurfaceCreateFlagsKHR = WaylandSurfaceCreateFlagsKHR Flags
- type KHR_WAYLAND_SURFACE_SPEC_VERSION = 6
- pattern KHR_WAYLAND_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type KHR_WAYLAND_SURFACE_EXTENSION_NAME = "VK_KHR_wayland_surface"
- pattern KHR_WAYLAND_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- data Wl_display
- data Wl_surface
- newtype SurfaceKHR = SurfaceKHR Word64
Documentation
createWaylandSurfaceKHR Source #
Arguments
| :: forall io. MonadIO io | |
| => Instance |
|
| -> WaylandSurfaceCreateInfoKHR |
|
| -> ("allocator" ::: Maybe AllocationCallbacks) |
|
| -> io SurfaceKHR |
vkCreateWaylandSurfaceKHR - Create a
SurfaceKHR object for a Wayland window
Valid Usage (Implicit)
instancemust be a validInstancehandle
pCreateInfomust be a valid pointer to a validWaylandSurfaceCreateInfoKHRstructure- If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validAllocationCallbacksstructure pSurfacemust be a valid pointer to aSurfaceKHRhandle
Return Codes
See Also
AllocationCallbacks,
Instance,
SurfaceKHR, WaylandSurfaceCreateInfoKHR
getPhysicalDeviceWaylandPresentationSupportKHR Source #
Arguments
| :: forall io. MonadIO io | |
| => PhysicalDevice |
|
| -> ("queueFamilyIndex" ::: Word32) |
|
| -> Ptr Wl_display |
|
| -> 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
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
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
Constructors
| WaylandSurfaceCreateFlagsKHR Flags |
Instances
type KHR_WAYLAND_SURFACE_SPEC_VERSION = 6 Source #
pattern KHR_WAYLAND_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
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 #
data Wl_display Source #
data Wl_surface Source #
newtype SurfaceKHR Source #
VkSurfaceKHR - Opaque handle to a surface object
Description
The VK_KHR_surface extension declares the SurfaceKHR object, and
provides a function for destroying SurfaceKHR objects. Separate
platform-specific extensions each provide a function for creating a
SurfaceKHR object for the respective platform. From the application’s
perspective this is an opaque handle, just like the handles of other
Vulkan objects.
See Also
PhysicalDeviceSurfaceInfo2KHR,
SwapchainCreateInfoKHR,
createAndroidSurfaceKHR,
createDirectFBSurfaceEXT,
createDisplayPlaneSurfaceKHR,
createHeadlessSurfaceEXT,
createIOSSurfaceMVK,
createImagePipeSurfaceFUCHSIA,
createMacOSSurfaceMVK,
createMetalSurfaceEXT,
createStreamDescriptorSurfaceGGP,
createViSurfaceNN,
createWaylandSurfaceKHR,
createWin32SurfaceKHR,
createXcbSurfaceKHR,
createXlibSurfaceKHR,
destroySurfaceKHR,
getDeviceGroupSurfacePresentModesKHR,
getPhysicalDevicePresentRectanglesKHR,
getPhysicalDeviceSurfaceCapabilities2EXT,
getPhysicalDeviceSurfaceCapabilitiesKHR,
getPhysicalDeviceSurfaceFormatsKHR,
getPhysicalDeviceSurfacePresentModesKHR,
getPhysicalDeviceSurfaceSupportKHR
Constructors
| SurfaceKHR Word64 |