Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VkCompositeAlphaBitmaskKHR (a :: FlagType) where
- VkCompositeAlphaBitmaskKHR VkFlags
- pattern VkCompositeAlphaFlagBitsKHR :: VkFlags -> VkCompositeAlphaBitmaskKHR FlagBit
- pattern VkCompositeAlphaFlagsKHR :: VkFlags -> VkCompositeAlphaBitmaskKHR FlagMask
- pattern VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR :: VkCompositeAlphaBitmaskKHR a
- pattern VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR :: VkCompositeAlphaBitmaskKHR a
- pattern VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR :: VkCompositeAlphaBitmaskKHR a
- pattern VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR :: VkCompositeAlphaBitmaskKHR a
- type VkCompositeAlphaFlagBitsKHR = VkCompositeAlphaBitmaskKHR FlagBit
- type VkCompositeAlphaFlagsKHR = VkCompositeAlphaBitmaskKHR FlagMask
- type VkExtent2D = VkStruct VkExtent2D'
- data AHardwareBuffer
- data ANativeWindow
- data CAMetalLayer
- newtype VkBool32 = VkBool32 Word32
- newtype VkDeviceAddress = VkDeviceAddress Word64
- newtype VkDeviceSize = VkDeviceSize Word64
- newtype VkFlags = VkFlags Word32
- newtype VkSampleMask = VkSampleMask Word32
- newtype VkImageAspectBitmask (a :: FlagType) where
- VkImageAspectBitmask VkFlags
- pattern VkImageAspectFlagBits :: VkFlags -> VkImageAspectBitmask FlagBit
- pattern VkImageAspectFlags :: VkFlags -> VkImageAspectBitmask FlagMask
- pattern VK_IMAGE_ASPECT_COLOR_BIT :: VkImageAspectBitmask a
- pattern VK_IMAGE_ASPECT_DEPTH_BIT :: VkImageAspectBitmask a
- pattern VK_IMAGE_ASPECT_STENCIL_BIT :: VkImageAspectBitmask a
- pattern VK_IMAGE_ASPECT_METADATA_BIT :: VkImageAspectBitmask a
- newtype VkImageCreateBitmask (a :: FlagType) where
- VkImageCreateBitmask VkFlags
- pattern VkImageCreateFlagBits :: VkFlags -> VkImageCreateBitmask FlagBit
- pattern VkImageCreateFlags :: VkFlags -> VkImageCreateBitmask FlagMask
- pattern VK_IMAGE_CREATE_SPARSE_BINDING_BIT :: VkImageCreateBitmask a
- pattern VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT :: VkImageCreateBitmask a
- pattern VK_IMAGE_CREATE_SPARSE_ALIASED_BIT :: VkImageCreateBitmask a
- pattern VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT :: VkImageCreateBitmask a
- pattern VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT :: VkImageCreateBitmask a
- newtype VkImageLayout where
- VkImageLayout Int32
- pattern VK_IMAGE_LAYOUT_UNDEFINED :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_GENERAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL :: VkImageLayout
- pattern VK_IMAGE_LAYOUT_PREINITIALIZED :: VkImageLayout
- newtype VkImageTiling where
- VkImageTiling Int32
- pattern VK_IMAGE_TILING_OPTIMAL :: VkImageTiling
- pattern VK_IMAGE_TILING_LINEAR :: VkImageTiling
- newtype VkImageType where
- VkImageType Int32
- pattern VK_IMAGE_TYPE_1D :: VkImageType
- pattern VK_IMAGE_TYPE_2D :: VkImageType
- pattern VK_IMAGE_TYPE_3D :: VkImageType
- newtype VkImageUsageBitmask (a :: FlagType) where
- VkImageUsageBitmask VkFlags
- pattern VkImageUsageFlagBits :: VkFlags -> VkImageUsageBitmask FlagBit
- pattern VkImageUsageFlags :: VkFlags -> VkImageUsageBitmask FlagMask
- pattern VK_IMAGE_USAGE_TRANSFER_SRC_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_TRANSFER_DST_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_SAMPLED_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_STORAGE_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT :: VkImageUsageBitmask a
- pattern VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT :: VkImageUsageBitmask a
- newtype VkImageViewType where
- VkImageViewType Int32
- pattern VK_IMAGE_VIEW_TYPE_1D :: VkImageViewType
- pattern VK_IMAGE_VIEW_TYPE_2D :: VkImageViewType
- pattern VK_IMAGE_VIEW_TYPE_3D :: VkImageViewType
- pattern VK_IMAGE_VIEW_TYPE_CUBE :: VkImageViewType
- pattern VK_IMAGE_VIEW_TYPE_1D_ARRAY :: VkImageViewType
- pattern VK_IMAGE_VIEW_TYPE_2D_ARRAY :: VkImageViewType
- pattern VK_IMAGE_VIEW_TYPE_CUBE_ARRAY :: VkImageViewType
- type VkImageAspectFlagBits = VkImageAspectBitmask FlagBit
- type VkImageAspectFlags = VkImageAspectBitmask FlagMask
- type VkImageCreateFlagBits = VkImageCreateBitmask FlagBit
- type VkImageCreateFlags = VkImageCreateBitmask FlagMask
- type VkImageUsageFlagBits = VkImageUsageBitmask FlagBit
- type VkImageUsageFlags = VkImageUsageBitmask FlagMask
- newtype VkImageViewCreateBitmask (a :: FlagType) where
- type VkImageViewCreateFlagBits = VkImageViewCreateBitmask FlagBit
- type VkImageViewCreateFlags = VkImageViewCreateBitmask FlagMask
- type VkSharedPresentSurfaceCapabilitiesKHR = VkStruct VkSharedPresentSurfaceCapabilitiesKHR'
- newtype VkStructureType where
- VkStructureType Int32
- pattern VK_STRUCTURE_TYPE_APPLICATION_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SUBMIT_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BIND_SPARSE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FENCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_EVENT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO :: VkStructureType
- type VkSurfaceCapabilities2KHR = VkStruct VkSurfaceCapabilities2KHR'
- type VkSurfaceCapabilitiesKHR = VkStruct VkSurfaceCapabilitiesKHR'
- newtype VkSurfaceCounterBitmaskEXT (a :: FlagType) where
- newtype VkSurfaceTransformBitmaskKHR (a :: FlagType) where
- VkSurfaceTransformBitmaskKHR VkFlags
- pattern VkSurfaceTransformFlagBitsKHR :: VkFlags -> VkSurfaceTransformBitmaskKHR FlagBit
- pattern VkSurfaceTransformFlagsKHR :: VkFlags -> VkSurfaceTransformBitmaskKHR FlagMask
- pattern VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- pattern VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR :: VkSurfaceTransformBitmaskKHR a
- type VkSurfaceCounterFlagBitsEXT = VkSurfaceCounterBitmaskEXT FlagBit
- type VkSurfaceCounterFlagsEXT = VkSurfaceCounterBitmaskEXT FlagMask
- type VkSurfaceTransformFlagBitsKHR = VkSurfaceTransformBitmaskKHR FlagBit
- type VkSurfaceTransformFlagsKHR = VkSurfaceTransformBitmaskKHR FlagMask
- type VkGetSwapchainStatusKHR = "vkGetSwapchainStatusKHR"
- pattern VkGetSwapchainStatusKHR :: CString
- type HS_vkGetSwapchainStatusKHR = VkDevice -> VkSwapchainKHR -> IO VkResult
- type PFN_vkGetSwapchainStatusKHR = FunPtr HS_vkGetSwapchainStatusKHR
- newtype VkResult where
- VkResult Int32
- pattern VK_SUCCESS :: VkResult
- pattern VK_NOT_READY :: VkResult
- pattern VK_TIMEOUT :: VkResult
- pattern VK_EVENT_SET :: VkResult
- pattern VK_EVENT_RESET :: VkResult
- pattern VK_INCOMPLETE :: VkResult
- pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult
- pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult
- pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult
- pattern VK_ERROR_DEVICE_LOST :: VkResult
- pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult
- pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult
- pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult
- pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult
- pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult
- pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult
- pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult
- pattern VK_ERROR_FRAGMENTED_POOL :: VkResult
- pattern VK_ERROR_UNKNOWN :: VkResult
- type VkAccelerationStructureKHR = VkPtr VkAccelerationStructureKHR_T
- data VkAccelerationStructureKHR_T
- type VkAccelerationStructureNV = VkPtr VkAccelerationStructureNV_T
- data VkAccelerationStructureNV_T
- type VkBuffer = VkPtr VkBuffer_T
- type VkBufferView = VkPtr VkBufferView_T
- data VkBufferView_T
- data VkBuffer_T
- type VkCommandBuffer = Ptr VkCommandBuffer_T
- data VkCommandBuffer_T
- type VkCommandPool = VkPtr VkCommandPool_T
- data VkCommandPool_T
- type VkDebugReportCallbackEXT = VkPtr VkDebugReportCallbackEXT_T
- data VkDebugReportCallbackEXT_T
- type VkDebugUtilsMessengerEXT = VkPtr VkDebugUtilsMessengerEXT_T
- data VkDebugUtilsMessengerEXT_T
- type VkDeferredOperationKHR = VkPtr VkDeferredOperationKHR_T
- data VkDeferredOperationKHR_T
- type VkDescriptorPool = VkPtr VkDescriptorPool_T
- data VkDescriptorPool_T
- type VkDescriptorSet = VkPtr VkDescriptorSet_T
- type VkDescriptorSetLayout = VkPtr VkDescriptorSetLayout_T
- data VkDescriptorSetLayout_T
- data VkDescriptorSet_T
- type VkDescriptorUpdateTemplate = VkPtr VkDescriptorUpdateTemplate_T
- type VkDescriptorUpdateTemplateKHR = VkPtr VkDescriptorUpdateTemplateKHR_T
- data VkDescriptorUpdateTemplateKHR_T
- data VkDescriptorUpdateTemplate_T
- type VkDevice = Ptr VkDevice_T
- type VkDeviceMemory = VkPtr VkDeviceMemory_T
- data VkDeviceMemory_T
- data VkDevice_T
- type VkDisplayKHR = VkPtr VkDisplayKHR_T
- data VkDisplayKHR_T
- type VkDisplayModeKHR = VkPtr VkDisplayModeKHR_T
- data VkDisplayModeKHR_T
- type VkEvent = VkPtr VkEvent_T
- data VkEvent_T
- type VkFence = VkPtr VkFence_T
- data VkFence_T
- type VkFramebuffer = VkPtr VkFramebuffer_T
- data VkFramebuffer_T
- type VkImage = VkPtr VkImage_T
- type VkImageView = VkPtr VkImageView_T
- data VkImageView_T
- data VkImage_T
- type VkIndirectCommandsLayoutNV = VkPtr VkIndirectCommandsLayoutNV_T
- data VkIndirectCommandsLayoutNV_T
- type VkInstance = Ptr VkInstance_T
- data VkInstance_T
- type VkPerformanceConfigurationINTEL = VkPtr VkPerformanceConfigurationINTEL_T
- data VkPerformanceConfigurationINTEL_T
- type VkPhysicalDevice = Ptr VkPhysicalDevice_T
- data VkPhysicalDevice_T
- type VkPipeline = VkPtr VkPipeline_T
- type VkPipelineCache = VkPtr VkPipelineCache_T
- data VkPipelineCache_T
- type VkPipelineLayout = VkPtr VkPipelineLayout_T
- data VkPipelineLayout_T
- data VkPipeline_T
- type VkPrivateDataSlotEXT = VkPtr VkPrivateDataSlotEXT_T
- data VkPrivateDataSlotEXT_T
- type VkQueryPool = VkPtr VkQueryPool_T
- data VkQueryPool_T
- type VkQueue = Ptr VkQueue_T
- data VkQueue_T
- type VkRenderPass = VkPtr VkRenderPass_T
- data VkRenderPass_T
- type VkSampler = VkPtr VkSampler_T
- type VkSamplerYcbcrConversion = VkPtr VkSamplerYcbcrConversion_T
- type VkSamplerYcbcrConversionKHR = VkPtr VkSamplerYcbcrConversionKHR_T
- data VkSamplerYcbcrConversionKHR_T
- data VkSamplerYcbcrConversion_T
- data VkSampler_T
- type VkSemaphore = VkPtr VkSemaphore_T
- data VkSemaphore_T
- type VkShaderModule = VkPtr VkShaderModule_T
- data VkShaderModule_T
- type VkSurfaceKHR = VkPtr VkSurfaceKHR_T
- data VkSurfaceKHR_T
- type VkSwapchainKHR = VkPtr VkSwapchainKHR_T
- data VkSwapchainKHR_T
- type VkValidationCacheEXT = VkPtr VkValidationCacheEXT_T
- data VkValidationCacheEXT_T
- type VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION = 1
- pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION :: (Num a, Eq a) => a
- type VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME = "VK_KHR_shared_presentable_image"
- pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME :: CString
- pattern VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR :: VkStructureType
- pattern VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR :: VkPresentModeKHR
- pattern VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR :: VkPresentModeKHR
- pattern VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR :: VkImageLayout
Vulkan extension: VK_KHR_shared_presentable_image
supported: vulkan
contact: Alon Or-bach
alonorbach@
author: KHR
type: device
Extension number: 112
Required extensions: VK_KHR_swapchain
, VK_KHR_get_physical_device_properties2
, VK_KHR_get_surface_capabilities2
.
Required extensions: VK_KHR_swapchain
, VK_KHR_get_physical_device_properties2
, VK_KHR_get_surface_capabilities2
.
newtype VkCompositeAlphaBitmaskKHR (a :: FlagType) Source #
pattern VkCompositeAlphaFlagBitsKHR :: VkFlags -> VkCompositeAlphaBitmaskKHR FlagBit | |
pattern VkCompositeAlphaFlagsKHR :: VkFlags -> VkCompositeAlphaBitmaskKHR FlagMask | |
pattern VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR :: VkCompositeAlphaBitmaskKHR a | bitpos = |
pattern VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR :: VkCompositeAlphaBitmaskKHR a | bitpos = |
pattern VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR :: VkCompositeAlphaBitmaskKHR a | bitpos = |
pattern VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR :: VkCompositeAlphaBitmaskKHR a | bitpos = |
Instances
type VkExtent2D = VkStruct VkExtent2D' Source #
typedef struct VkExtent2D { uint32_t width; uint32_t height; } VkExtent2D;
data AHardwareBuffer Source #
struct AHardwareBuffer;
data ANativeWindow Source #
struct ANativeWindow;
data CAMetalLayer Source #
#ifdef __OBJC__ @class CAMetalLayer; #else typedef void CAMetalLayer; #endif
Instances
newtype VkDeviceAddress Source #
Instances
newtype VkDeviceSize Source #
Instances
Instances
newtype VkSampleMask Source #
Instances
newtype VkImageAspectBitmask (a :: FlagType) Source #
pattern VkImageAspectFlagBits :: VkFlags -> VkImageAspectBitmask FlagBit | |
pattern VkImageAspectFlags :: VkFlags -> VkImageAspectBitmask FlagMask | |
pattern VK_IMAGE_ASPECT_COLOR_BIT :: VkImageAspectBitmask a | bitpos = |
pattern VK_IMAGE_ASPECT_DEPTH_BIT :: VkImageAspectBitmask a | bitpos = |
pattern VK_IMAGE_ASPECT_STENCIL_BIT :: VkImageAspectBitmask a | bitpos = |
pattern VK_IMAGE_ASPECT_METADATA_BIT :: VkImageAspectBitmask a | bitpos = |
Instances
newtype VkImageCreateBitmask (a :: FlagType) Source #
pattern VkImageCreateFlagBits :: VkFlags -> VkImageCreateBitmask FlagBit | |
pattern VkImageCreateFlags :: VkFlags -> VkImageCreateBitmask FlagMask | |
pattern VK_IMAGE_CREATE_SPARSE_BINDING_BIT :: VkImageCreateBitmask a | Image should support sparse backing bitpos = |
pattern VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT :: VkImageCreateBitmask a | Image should support sparse backing with partial residency bitpos = |
pattern VK_IMAGE_CREATE_SPARSE_ALIASED_BIT :: VkImageCreateBitmask a | Image should support constent data access to physical memory ranges mapped into multiple locations of sparse images bitpos = |
pattern VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT :: VkImageCreateBitmask a | Allows image views to have different format than the base image bitpos = |
pattern VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT :: VkImageCreateBitmask a | Allows creating image views with cube type from the created image bitpos = |
Instances
newtype VkImageLayout Source #
type = enum
pattern VK_IMAGE_LAYOUT_UNDEFINED :: VkImageLayout | Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation) |
pattern VK_IMAGE_LAYOUT_GENERAL :: VkImageLayout | General layout when image can be used for any kind of access |
pattern VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL :: VkImageLayout | Optimal layout when image is only used for color attachment read/write |
pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL :: VkImageLayout | Optimal layout when image is only used for depthstencil attachment readwrite |
pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL :: VkImageLayout | Optimal layout when image is used for read only depth/stencil attachment and shader access |
pattern VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL :: VkImageLayout | Optimal layout when image is used for read only shader access |
pattern VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL :: VkImageLayout | Optimal layout when image is used only as source of transfer operations |
pattern VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL :: VkImageLayout | Optimal layout when image is used only as destination of transfer operations |
pattern VK_IMAGE_LAYOUT_PREINITIALIZED :: VkImageLayout | Initial layout used when the data is populated by the CPU |
Instances
newtype VkImageTiling Source #
type = enum
pattern VK_IMAGE_TILING_OPTIMAL :: VkImageTiling | |
pattern VK_IMAGE_TILING_LINEAR :: VkImageTiling |
Instances
newtype VkImageType Source #
type = enum
pattern VK_IMAGE_TYPE_1D :: VkImageType | |
pattern VK_IMAGE_TYPE_2D :: VkImageType | |
pattern VK_IMAGE_TYPE_3D :: VkImageType |
Instances
newtype VkImageUsageBitmask (a :: FlagType) Source #
pattern VkImageUsageFlagBits :: VkFlags -> VkImageUsageBitmask FlagBit | |
pattern VkImageUsageFlags :: VkFlags -> VkImageUsageBitmask FlagMask | |
pattern VK_IMAGE_USAGE_TRANSFER_SRC_BIT :: VkImageUsageBitmask a | Can be used as a source of transfer operations bitpos = |
pattern VK_IMAGE_USAGE_TRANSFER_DST_BIT :: VkImageUsageBitmask a | Can be used as a destination of transfer operations bitpos = |
pattern VK_IMAGE_USAGE_SAMPLED_BIT :: VkImageUsageBitmask a | Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types) bitpos = |
pattern VK_IMAGE_USAGE_STORAGE_BIT :: VkImageUsageBitmask a | Can be used as storage image (STORAGE_IMAGE descriptor type) bitpos = |
pattern VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT :: VkImageUsageBitmask a | Can be used as framebuffer color attachment bitpos = |
pattern VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkImageUsageBitmask a | Can be used as framebuffer depth/stencil attachment bitpos = |
pattern VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT :: VkImageUsageBitmask a | Image data not needed outside of rendering bitpos = |
pattern VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT :: VkImageUsageBitmask a | Can be used as framebuffer input attachment bitpos = |
Instances
newtype VkImageViewType Source #
type = enum
pattern VK_IMAGE_VIEW_TYPE_1D :: VkImageViewType | |
pattern VK_IMAGE_VIEW_TYPE_2D :: VkImageViewType | |
pattern VK_IMAGE_VIEW_TYPE_3D :: VkImageViewType | |
pattern VK_IMAGE_VIEW_TYPE_CUBE :: VkImageViewType | |
pattern VK_IMAGE_VIEW_TYPE_1D_ARRAY :: VkImageViewType | |
pattern VK_IMAGE_VIEW_TYPE_2D_ARRAY :: VkImageViewType | |
pattern VK_IMAGE_VIEW_TYPE_CUBE_ARRAY :: VkImageViewType |
Instances
newtype VkImageViewCreateBitmask (a :: FlagType) Source #
pattern VkImageViewCreateFlagBits :: VkFlags -> VkImageViewCreateBitmask FlagBit | |
pattern VkImageViewCreateFlags :: VkFlags -> VkImageViewCreateBitmask FlagMask |
Instances
type VkSharedPresentSurfaceCapabilitiesKHR = VkStruct VkSharedPresentSurfaceCapabilitiesKHR' Source #
typedef struct VkSharedPresentSurfaceCapabilitiesKHR { VkStructureType sType; void* pNext; VkImageUsageFlags sharedPresentSupportedUsageFlags; } VkSharedPresentSurfaceCapabilitiesKHR;
VkSharedPresentSurfaceCapabilitiesKHR registry at www.khronos.org
newtype VkStructureType Source #
Instances
type VkSurfaceCapabilities2KHR = VkStruct VkSurfaceCapabilities2KHR' Source #
typedef struct VkSurfaceCapabilities2KHR { VkStructureType sType; void* pNext; VkSurfaceCapabilitiesKHR surfaceCapabilities; } VkSurfaceCapabilities2KHR;
type VkSurfaceCapabilitiesKHR = VkStruct VkSurfaceCapabilitiesKHR' Source #
typedef struct VkSurfaceCapabilitiesKHR { uint32_t minImageCount; uint32_t maxImageCount; VkExtent2D currentExtent; VkExtent2D minImageExtent; VkExtent2D maxImageExtent; uint32_t maxImageArrayLayers; VkSurfaceTransformFlagsKHR supportedTransforms; VkSurfaceTransformFlagBitsKHR currentTransform; VkCompositeAlphaFlagsKHR supportedCompositeAlpha; VkImageUsageFlags supportedUsageFlags; } VkSurfaceCapabilitiesKHR;
newtype VkSurfaceCounterBitmaskEXT (a :: FlagType) Source #
pattern VkSurfaceCounterFlagBitsEXT :: VkFlags -> VkSurfaceCounterBitmaskEXT FlagBit | |
pattern VkSurfaceCounterFlagsEXT :: VkFlags -> VkSurfaceCounterBitmaskEXT FlagMask | |
pattern VK_SURFACE_COUNTER_VBLANK_EXT :: VkSurfaceCounterBitmaskEXT a | bitpos = |
Instances
newtype VkSurfaceTransformBitmaskKHR (a :: FlagType) Source #
Instances
type VkGetSwapchainStatusKHR = "vkGetSwapchainStatusKHR" Source #
pattern VkGetSwapchainStatusKHR :: CString Source #
type HS_vkGetSwapchainStatusKHR Source #
= VkDevice | device |
-> VkSwapchainKHR | swapchain |
-> IO VkResult |
Success codes: VK_SUCCESS
, VK_SUBOPTIMAL_KHR
.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY
, VK_ERROR_OUT_OF_DEVICE_MEMORY
, VK_ERROR_DEVICE_LOST
, VK_ERROR_OUT_OF_DATE_KHR
, VK_ERROR_SURFACE_LOST_KHR
, VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT
.
VkResult vkGetSwapchainStatusKHR ( VkDevice device , VkSwapchainKHR swapchain )
pattern VK_SUCCESS :: VkResult | Command completed successfully |
pattern VK_NOT_READY :: VkResult | A fence or query has not yet completed |
pattern VK_TIMEOUT :: VkResult | A wait operation has not completed in the specified time |
pattern VK_EVENT_SET :: VkResult | An event is signaled |
pattern VK_EVENT_RESET :: VkResult | An event is unsignaled |
pattern VK_INCOMPLETE :: VkResult | A return array was too small for the result |
pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult | A host memory allocation has failed |
pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult | A device memory allocation has failed |
pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult | Initialization of a object has failed |
pattern VK_ERROR_DEVICE_LOST :: VkResult | The logical device has been lost. See |
pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult | Mapping of a memory object has failed |
pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult | Layer specified does not exist |
pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult | Extension specified does not exist |
pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult | Requested feature is not available on this device |
pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult | Unable to find a Vulkan driver |
pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult | Too many objects of the type have already been created |
pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult | Requested format is not supported on this device |
pattern VK_ERROR_FRAGMENTED_POOL :: VkResult | A requested pool allocation has failed due to fragmentation of the pool's memory |
pattern VK_ERROR_UNKNOWN :: VkResult | An unknown error has occurred, due to an implementation or application bug |
Instances
Enum VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
Eq VkResult Source # | |
Ord VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
Read VkResult Source # | |
Show VkResult Source # | |
Storable VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result |
data VkAccelerationStructureKHR_T Source #
Opaque data type referenced by VkAccelerationStructureKHR
data VkAccelerationStructureNV_T Source #
Opaque data type referenced by VkAccelerationStructureNV
type VkBuffer = VkPtr VkBuffer_T Source #
type VkBufferView = VkPtr VkBufferView_T Source #
data VkBufferView_T Source #
Opaque data type referenced by VkBufferView
data VkBuffer_T Source #
Opaque data type referenced by VkBuffer
type VkCommandBuffer = Ptr VkCommandBuffer_T Source #
data VkCommandBuffer_T Source #
Opaque data type referenced by VkCommandBuffer
type VkCommandPool = VkPtr VkCommandPool_T Source #
data VkCommandPool_T Source #
Opaque data type referenced by VkCommandPool
data VkDebugReportCallbackEXT_T Source #
Opaque data type referenced by VkDebugReportCallbackEXT
data VkDebugUtilsMessengerEXT_T Source #
Opaque data type referenced by VkDebugUtilsMessengerEXT
data VkDeferredOperationKHR_T Source #
Opaque data type referenced by VkDeferredOperationKHR
data VkDescriptorPool_T Source #
Opaque data type referenced by VkDescriptorPool
type VkDescriptorSet = VkPtr VkDescriptorSet_T Source #
data VkDescriptorSetLayout_T Source #
Opaque data type referenced by VkDescriptorSetLayout
data VkDescriptorSet_T Source #
Opaque data type referenced by VkDescriptorSet
data VkDescriptorUpdateTemplateKHR_T Source #
Opaque data type referenced by VkDescriptorUpdateTemplateKHR
data VkDescriptorUpdateTemplate_T Source #
Opaque data type referenced by VkDescriptorUpdateTemplate
type VkDevice = Ptr VkDevice_T Source #
type VkDeviceMemory = VkPtr VkDeviceMemory_T Source #
data VkDeviceMemory_T Source #
Opaque data type referenced by VkDeviceMemory
data VkDevice_T Source #
Opaque data type referenced by VkDevice
type VkDisplayKHR = VkPtr VkDisplayKHR_T Source #
data VkDisplayKHR_T Source #
Opaque data type referenced by VkDisplayKHR
data VkDisplayModeKHR_T Source #
Opaque data type referenced by VkDisplayModeKHR
type VkFramebuffer = VkPtr VkFramebuffer_T Source #
data VkFramebuffer_T Source #
Opaque data type referenced by VkFramebuffer
type VkImageView = VkPtr VkImageView_T Source #
data VkImageView_T Source #
Opaque data type referenced by VkImageView
data VkIndirectCommandsLayoutNV_T Source #
Opaque data type referenced by VkIndirectCommandsLayoutNV
type VkInstance = Ptr VkInstance_T Source #
data VkInstance_T Source #
Opaque data type referenced by VkInstance
data VkPerformanceConfigurationINTEL_T Source #
Opaque data type referenced by VkPerformanceConfigurationINTEL
type VkPhysicalDevice = Ptr VkPhysicalDevice_T Source #
data VkPhysicalDevice_T Source #
Opaque data type referenced by VkPhysicalDevice
type VkPipeline = VkPtr VkPipeline_T Source #
type VkPipelineCache = VkPtr VkPipelineCache_T Source #
data VkPipelineCache_T Source #
Opaque data type referenced by VkPipelineCache
data VkPipelineLayout_T Source #
Opaque data type referenced by VkPipelineLayout
data VkPipeline_T Source #
Opaque data type referenced by VkPipeline
data VkPrivateDataSlotEXT_T Source #
Opaque data type referenced by VkPrivateDataSlotEXT
type VkQueryPool = VkPtr VkQueryPool_T Source #
data VkQueryPool_T Source #
Opaque data type referenced by VkQueryPool
type VkRenderPass = VkPtr VkRenderPass_T Source #
data VkRenderPass_T Source #
Opaque data type referenced by VkRenderPass
type VkSampler = VkPtr VkSampler_T Source #
data VkSamplerYcbcrConversionKHR_T Source #
Opaque data type referenced by VkSamplerYcbcrConversionKHR
data VkSamplerYcbcrConversion_T Source #
Opaque data type referenced by VkSamplerYcbcrConversion
data VkSampler_T Source #
Opaque data type referenced by VkSampler
type VkSemaphore = VkPtr VkSemaphore_T Source #
data VkSemaphore_T Source #
Opaque data type referenced by VkSemaphore
type VkShaderModule = VkPtr VkShaderModule_T Source #
data VkShaderModule_T Source #
Opaque data type referenced by VkShaderModule
type VkSurfaceKHR = VkPtr VkSurfaceKHR_T Source #
data VkSurfaceKHR_T Source #
Opaque data type referenced by VkSurfaceKHR
type VkSwapchainKHR = VkPtr VkSwapchainKHR_T Source #
data VkSwapchainKHR_T Source #
Opaque data type referenced by VkSwapchainKHR
data VkValidationCacheEXT_T Source #
Opaque data type referenced by VkValidationCacheEXT
pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION :: (Num a, Eq a) => a Source #
type VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME = "VK_KHR_shared_presentable_image" Source #
pattern VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR :: VkImageLayout Source #
Orphan instances
VulkanProc "vkGetSwapchainStatusKHR" Source # | |
type VkProcType "vkGetSwapchainStatusKHR" Source # vkProcSymbol :: CString Source # unwrapVkProcPtrUnsafe :: FunPtr (VkProcType "vkGetSwapchainStatusKHR") -> VkProcType "vkGetSwapchainStatusKHR" Source # unwrapVkProcPtrSafe :: FunPtr (VkProcType "vkGetSwapchainStatusKHR") -> VkProcType "vkGetSwapchainStatusKHR" Source # |