vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_QNX_screen_surface

Description

Name

VK_QNX_screen_surface - instance extension

VK_QNX_screen_surface

Name String
VK_QNX_screen_surface
Extension Type
Instance extension
Registered Extension Number
379
Revision
1
Ratification Status
Not ratified
Extension and Version Dependencies
VK_KHR_surface
Contact

Other Extension Metadata

Last Modified Date
2021-01-11
IP Status
No known IP claims.
Contributors
  • Mike Gorchak, BlackBerry Limited

Description

The VK_QNX_screen_surface extension is an instance extension. It provides a mechanism to create a SurfaceKHR object (defined by the VK_KHR_surface extension) that refers to a QNX Screen window, as well as a query to determine support for rendering to a QNX Screen compositor.

New Commands

New Structures

New Bitmasks

New Enum Constants

Version History

  • Revision 1, 2021-01-11 (Mike Gorchak)

    • Initial draft.

See Also

ScreenSurfaceCreateFlagsQNX, ScreenSurfaceCreateInfoQNX, createScreenSurfaceQNX, getPhysicalDeviceScreenPresentationSupportQNX

Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

Synopsis

Documentation

createScreenSurfaceQNX Source #

Arguments

:: forall io. MonadIO io 
=> Instance

instance is the instance to associate the surface with.

-> ScreenSurfaceCreateInfoQNX

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

vkCreateScreenSurfaceQNX - Create a SurfaceKHR object for a QNX Screen window

Valid Usage (Implicit)

  • instance must be a valid Instance handle

Return Codes

Success
Failure

See Also

VK_QNX_screen_surface, AllocationCallbacks, Instance, ScreenSurfaceCreateInfoQNX, SurfaceKHR

getPhysicalDeviceScreenPresentationSupportQNX 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 Screen_window

window is the QNX Screen window object.

window must be a valid pointer to a Screen_window value

-> io Bool 

vkGetPhysicalDeviceScreenPresentationSupportQNX - Query physical device for presentation to QNX Screen

Description

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

Valid Usage (Implicit)

See Also

VK_QNX_screen_surface, PhysicalDevice

data ScreenSurfaceCreateInfoQNX Source #

VkScreenSurfaceCreateInfoQNX - Structure specifying parameters of a newly created QNX Screen surface object

Valid Usage (Implicit)

See Also

VK_QNX_screen_surface, ScreenSurfaceCreateFlagsQNX, StructureType, createScreenSurfaceQNX

Constructors

ScreenSurfaceCreateInfoQNX 

Fields

Instances

Instances details
Storable ScreenSurfaceCreateInfoQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Show ScreenSurfaceCreateInfoQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Eq ScreenSurfaceCreateInfoQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

FromCStruct ScreenSurfaceCreateInfoQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

ToCStruct ScreenSurfaceCreateInfoQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Zero ScreenSurfaceCreateInfoQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

newtype ScreenSurfaceCreateFlagsQNX Source #

VkScreenSurfaceCreateFlagsQNX - Reserved for future use

Description

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

See Also

VK_QNX_screen_surface, ScreenSurfaceCreateInfoQNX

Instances

Instances details
Storable ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Bits ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Methods

(.&.) :: ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX #

(.|.) :: ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX #

xor :: ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX #

complement :: ScreenSurfaceCreateFlagsQNX -> ScreenSurfaceCreateFlagsQNX #

shift :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

rotate :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

zeroBits :: ScreenSurfaceCreateFlagsQNX #

bit :: Int -> ScreenSurfaceCreateFlagsQNX #

setBit :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

clearBit :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

complementBit :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

testBit :: ScreenSurfaceCreateFlagsQNX -> Int -> Bool #

bitSizeMaybe :: ScreenSurfaceCreateFlagsQNX -> Maybe Int #

bitSize :: ScreenSurfaceCreateFlagsQNX -> Int #

isSigned :: ScreenSurfaceCreateFlagsQNX -> Bool #

shiftL :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

unsafeShiftL :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

shiftR :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

unsafeShiftR :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

rotateL :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

rotateR :: ScreenSurfaceCreateFlagsQNX -> Int -> ScreenSurfaceCreateFlagsQNX #

popCount :: ScreenSurfaceCreateFlagsQNX -> Int #

FiniteBits ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Read ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Show ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Eq ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Ord ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

Zero ScreenSurfaceCreateFlagsQNX Source # 
Instance details

Defined in Vulkan.Extensions.VK_QNX_screen_surface

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

type QNX_SCREEN_SURFACE_EXTENSION_NAME = "VK_QNX_screen_surface" Source #

pattern QNX_SCREEN_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #

newtype SurfaceKHR Source #

Constructors

SurfaceKHR Word64 

Instances

Instances details
Storable SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Show SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Eq SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles

Ord 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

Zero SurfaceKHR Source # 
Instance details

Defined in Vulkan.Extensions.Handles