| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_EXT_directfb_surface
Synopsis
- createDirectFBSurfaceEXT :: forall io. MonadIO io => Instance -> DirectFBSurfaceCreateInfoEXT -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- getPhysicalDeviceDirectFBPresentationSupportEXT :: forall io. MonadIO io => PhysicalDevice -> ("queueFamilyIndex" ::: Word32) -> ("dfb" ::: Ptr IDirectFB) -> io Bool
- data DirectFBSurfaceCreateInfoEXT = DirectFBSurfaceCreateInfoEXT {}
- newtype DirectFBSurfaceCreateFlagsEXT = DirectFBSurfaceCreateFlagsEXT Flags
- type EXT_DIRECTFB_SURFACE_SPEC_VERSION = 1
- pattern EXT_DIRECTFB_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type EXT_DIRECTFB_SURFACE_EXTENSION_NAME = "VK_EXT_directfb_surface"
- pattern EXT_DIRECTFB_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- data IDirectFB
- data IDirectFBSurface
- newtype SurfaceKHR = SurfaceKHR Word64
Documentation
createDirectFBSurfaceEXT Source #
Arguments
| :: forall io. MonadIO io | |
| => Instance |
|
| -> DirectFBSurfaceCreateInfoEXT |
|
| -> ("allocator" ::: Maybe AllocationCallbacks) |
|
| -> io SurfaceKHR |
vkCreateDirectFBSurfaceEXT - Create a
SurfaceKHR object for a DirectFB surface
Valid Usage (Implicit)
instancemust be a validInstancehandle
pCreateInfomust be a valid pointer to a validDirectFBSurfaceCreateInfoEXTstructure- If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validAllocationCallbacksstructure pSurfacemust be a valid pointer to aSurfaceKHRhandle
Return Codes
See Also
AllocationCallbacks,
DirectFBSurfaceCreateInfoEXT, Instance,
SurfaceKHR
getPhysicalDeviceDirectFBPresentationSupportEXT Source #
Arguments
| :: forall io. MonadIO io | |
| => PhysicalDevice |
|
| -> ("queueFamilyIndex" ::: Word32) |
|
| -> ("dfb" ::: Ptr IDirectFB) |
|
| -> io Bool |
vkGetPhysicalDeviceDirectFBPresentationSupportEXT - Query physical device for presentation with DirectFB
Description
This platform-specific function can be called prior to creating a surface.
Valid Usage (Implicit)
See Also
data DirectFBSurfaceCreateInfoEXT Source #
VkDirectFBSurfaceCreateInfoEXT - Structure specifying parameters of a newly created DirectFB surface object
Valid Usage (Implicit)
See Also
DirectFBSurfaceCreateFlagsEXT,
StructureType,
createDirectFBSurfaceEXT
Constructors
| DirectFBSurfaceCreateInfoEXT | |
Fields
| |
Instances
newtype DirectFBSurfaceCreateFlagsEXT Source #
VkDirectFBSurfaceCreateFlagsEXT - Reserved for future use
Description
DirectFBSurfaceCreateFlagsEXT is a bitmask type for setting a mask,
but is currently reserved for future use.
See Also
Constructors
| DirectFBSurfaceCreateFlagsEXT Flags |
Instances
type EXT_DIRECTFB_SURFACE_SPEC_VERSION = 1 Source #
pattern EXT_DIRECTFB_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_DIRECTFB_SURFACE_EXTENSION_NAME = "VK_EXT_directfb_surface" Source #
pattern EXT_DIRECTFB_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
data IDirectFBSurface 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 |