Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createXlibSurfaceKHR :: forall io. MonadIO io => Instance -> XlibSurfaceCreateInfoKHR -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- getPhysicalDeviceXlibPresentationSupportKHR :: forall io. MonadIO io => PhysicalDevice -> ("queueFamilyIndex" ::: Word32) -> ("dpy" ::: Ptr Display) -> VisualID -> io Bool
- data XlibSurfaceCreateInfoKHR = XlibSurfaceCreateInfoKHR {}
- newtype XlibSurfaceCreateFlagsKHR = XlibSurfaceCreateFlagsKHR Flags
- type KHR_XLIB_SURFACE_SPEC_VERSION = 6
- pattern KHR_XLIB_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type KHR_XLIB_SURFACE_EXTENSION_NAME = "VK_KHR_xlib_surface"
- pattern KHR_XLIB_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- newtype SurfaceKHR = SurfaceKHR Word64
- type Display = Ptr ()
- type VisualID = Word64
- type Window = Word64
Documentation
:: forall io. MonadIO io | |
=> Instance |
|
-> XlibSurfaceCreateInfoKHR |
|
-> ("allocator" ::: Maybe AllocationCallbacks) |
|
-> io SurfaceKHR |
vkCreateXlibSurfaceKHR - Create a SurfaceKHR
object for an X11 window, using the Xlib client-side library
Valid Usage (Implicit)
instance
must be a validInstance
handle
pCreateInfo
must be a valid pointer to a validXlibSurfaceCreateInfoKHR
structure- If
pAllocator
is notNULL
,pAllocator
must be a valid pointer to a validAllocationCallbacks
structure pSurface
must be a valid pointer to aSurfaceKHR
handle
Return Codes
See Also
AllocationCallbacks
,
Instance
,
SurfaceKHR
, XlibSurfaceCreateInfoKHR
getPhysicalDeviceXlibPresentationSupportKHR Source #
:: forall io. MonadIO io | |
=> PhysicalDevice |
|
-> ("queueFamilyIndex" ::: Word32) |
|
-> ("dpy" ::: Ptr Display) |
|
-> VisualID | |
-> io Bool |
vkGetPhysicalDeviceXlibPresentationSupportKHR - Query physical device for presentation to X11 server using Xlib
Description
This platform-specific function can be called prior to creating a surface.
Valid Usage (Implicit)
See Also
data XlibSurfaceCreateInfoKHR Source #
VkXlibSurfaceCreateInfoKHR - Structure specifying parameters of a newly created Xlib surface object
Valid Usage (Implicit)
See Also
StructureType
,
XlibSurfaceCreateFlagsKHR
, createXlibSurfaceKHR
Instances
newtype XlibSurfaceCreateFlagsKHR Source #
Instances
type KHR_XLIB_SURFACE_SPEC_VERSION = 6 Source #
pattern KHR_XLIB_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_XLIB_SURFACE_EXTENSION_NAME = "VK_KHR_xlib_surface" Source #
pattern KHR_XLIB_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a 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
,
createDisplayPlaneSurfaceKHR
,
createHeadlessSurfaceEXT
,
createIOSSurfaceMVK
,
createImagePipeSurfaceFUCHSIA
,
createMacOSSurfaceMVK
,
createMetalSurfaceEXT
,
createStreamDescriptorSurfaceGGP
,
createViSurfaceNN
,
createWaylandSurfaceKHR
,
createWin32SurfaceKHR
,
createXcbSurfaceKHR
,
createXlibSurfaceKHR
,
destroySurfaceKHR
,
getDeviceGroupSurfacePresentModesKHR
,
getPhysicalDevicePresentRectanglesKHR
,
getPhysicalDeviceSurfaceCapabilities2EXT
,
getPhysicalDeviceSurfaceCapabilitiesKHR
,
getPhysicalDeviceSurfaceFormatsKHR
,
getPhysicalDeviceSurfacePresentModesKHR
,
getPhysicalDeviceSurfaceSupportKHR