| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_GGP_stream_descriptor_surface
Synopsis
- createStreamDescriptorSurfaceGGP :: forall io. MonadIO io => Instance -> StreamDescriptorSurfaceCreateInfoGGP -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR
- data StreamDescriptorSurfaceCreateInfoGGP = StreamDescriptorSurfaceCreateInfoGGP {}
- newtype StreamDescriptorSurfaceCreateFlagsGGP = StreamDescriptorSurfaceCreateFlagsGGP Flags
- type GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION = 1
- pattern GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION :: forall a. Integral a => a
- type GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME = "VK_GGP_stream_descriptor_surface"
- pattern GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- newtype SurfaceKHR = SurfaceKHR Word64
- type GgpStreamDescriptor = Word32
Documentation
createStreamDescriptorSurfaceGGP :: forall io. MonadIO io => Instance -> StreamDescriptorSurfaceCreateInfoGGP -> ("allocator" ::: Maybe AllocationCallbacks) -> io SurfaceKHR Source #
vkCreateStreamDescriptorSurfaceGGP - Create a
SurfaceKHR object for a Google Games
Platform stream
Parameters
instanceis the instance to associate with the surface.
pCreateInfois a pointer to aStreamDescriptorSurfaceCreateInfoGGPstructure containing parameters that affect the creation of the surface object.pAllocatoris the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).pSurfaceis a pointer to aSurfaceKHRhandle in which the created surface object is returned.
Valid Usage (Implicit)
instancemust be a validInstancehandle
pCreateInfomust be a valid pointer to a validStreamDescriptorSurfaceCreateInfoGGPstructure- If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validAllocationCallbacksstructure pSurfacemust be a valid pointer to aSurfaceKHRhandle
Return Codes
See Also
AllocationCallbacks,
Instance,
StreamDescriptorSurfaceCreateInfoGGP,
SurfaceKHR
data StreamDescriptorSurfaceCreateInfoGGP Source #
VkStreamDescriptorSurfaceCreateInfoGGP - Structure specifying parameters of a newly created Google Games Platform stream surface object
Valid Usage (Implicit)
See Also
StreamDescriptorSurfaceCreateFlagsGGP,
StructureType,
createStreamDescriptorSurfaceGGP
Constructors
| StreamDescriptorSurfaceCreateInfoGGP | |
Fields
| |
Instances
newtype StreamDescriptorSurfaceCreateFlagsGGP Source #
Constructors
| StreamDescriptorSurfaceCreateFlagsGGP Flags |
Instances
pattern GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION :: forall a. Integral a => a Source #
type GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME = "VK_GGP_stream_descriptor_surface" Source #
pattern GGP_STREAM_DESCRIPTOR_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
Constructors
| SurfaceKHR Word64 |
Instances
type GgpStreamDescriptor = Word32 Source #