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

Vulkan.Extensions.VK_KHR_xcb_surface

Synopsis

Documentation

createXcbSurfaceKHR Source #

Arguments

:: forall io. MonadIO io 
=> Instance

instance is the instance to associate the surface with.

-> XcbSurfaceCreateInfoKHR

pCreateInfo is a pointer to a XcbSurfaceCreateInfoKHR 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 

vkCreateXcbSurfaceKHR - Create a SurfaceKHR object for a X11 window, using the XCB client-side library

Valid Usage (Implicit)

  • instance must be a valid Instance handle

Return Codes

Success
Failure

See Also

AllocationCallbacks, Instance, SurfaceKHR, XcbSurfaceCreateInfoKHR

getPhysicalDeviceXcbPresentationSupportKHR 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 Xcb_connection_t

connection is a pointer to an xcb_connection_t to the X server.

connection must be a valid pointer to an xcb_connection_t value

-> ("visual_id" ::: Xcb_visualid_t)

visual_id is an X11 visual (xcb_visualid_t).

-> io Bool 

vkGetPhysicalDeviceXcbPresentationSupportKHR - Query physical device for presentation to X11 server using XCB

Description

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

Valid Usage (Implicit)

See Also

PhysicalDevice

data XcbSurfaceCreateInfoKHR Source #

VkXcbSurfaceCreateInfoKHR - Structure specifying parameters of a newly created Xcb surface object

Valid Usage (Implicit)

See Also

StructureType, XcbSurfaceCreateFlagsKHR, createXcbSurfaceKHR

Constructors

XcbSurfaceCreateInfoKHR 

Fields

Instances

Instances details
Eq XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Show XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Generic XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Associated Types

type Rep XcbSurfaceCreateInfoKHR :: Type -> Type #

Storable XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

FromCStruct XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

ToCStruct XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Zero XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

type Rep XcbSurfaceCreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

type Rep XcbSurfaceCreateInfoKHR = D1 ('MetaData "XcbSurfaceCreateInfoKHR" "Vulkan.Extensions.VK_KHR_xcb_surface" "vulkan-3.6.3-inplace" 'False) (C1 ('MetaCons "XcbSurfaceCreateInfoKHR" 'PrefixI 'True) (S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 XcbSurfaceCreateFlagsKHR) :*: (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Xcb_connection_t)) :*: S1 ('MetaSel ('Just "window") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Xcb_window_t))))

newtype XcbSurfaceCreateFlagsKHR Source #

VkXcbSurfaceCreateFlagsKHR - Reserved for future use

Description

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

See Also

XcbSurfaceCreateInfoKHR

Instances

Instances details
Eq XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Ord XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Read XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Show XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Storable XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Bits XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

Zero XcbSurfaceCreateFlagsKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_xcb_surface

pattern KHR_XCB_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #

type KHR_XCB_SURFACE_EXTENSION_NAME = "VK_KHR_xcb_surface" Source #

pattern KHR_XCB_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