| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Ext.VK_KHR_surface
Synopsis
- type VkDestroySurfaceKHR = "vkDestroySurfaceKHR"
- pattern VkDestroySurfaceKHR :: CString
- type HS_vkDestroySurfaceKHR = VkInstance -> VkSurfaceKHR -> Ptr VkAllocationCallbacks -> IO ()
- type PFN_vkDestroySurfaceKHR = FunPtr HS_vkDestroySurfaceKHR
- vkDestroySurfaceKHR :: VkInstance -> VkSurfaceKHR -> Ptr VkAllocationCallbacks -> IO ()
- vkDestroySurfaceKHRSafe :: VkInstance -> VkSurfaceKHR -> Ptr VkAllocationCallbacks -> IO ()
- type VkGetPhysicalDeviceSurfaceSupportKHR = "vkGetPhysicalDeviceSurfaceSupportKHR"
- pattern VkGetPhysicalDeviceSurfaceSupportKHR :: CString
- type HS_vkGetPhysicalDeviceSurfaceSupportKHR = VkPhysicalDevice -> Word32 -> VkSurfaceKHR -> Ptr VkBool32 -> IO VkResult
- type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = FunPtr HS_vkGetPhysicalDeviceSurfaceSupportKHR
- vkGetPhysicalDeviceSurfaceSupportKHR :: VkPhysicalDevice -> Word32 -> VkSurfaceKHR -> Ptr VkBool32 -> IO VkResult
- vkGetPhysicalDeviceSurfaceSupportKHRSafe :: VkPhysicalDevice -> Word32 -> VkSurfaceKHR -> Ptr VkBool32 -> IO VkResult
- type VkGetPhysicalDeviceSurfaceCapabilitiesKHR = "vkGetPhysicalDeviceSurfaceCapabilitiesKHR"
- pattern VkGetPhysicalDeviceSurfaceCapabilitiesKHR :: CString
- type HS_vkGetPhysicalDeviceSurfaceCapabilitiesKHR = VkPhysicalDevice -> VkSurfaceKHR -> Ptr VkSurfaceCapabilitiesKHR -> IO VkResult
- type PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR = FunPtr HS_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR :: VkPhysicalDevice -> VkSurfaceKHR -> Ptr VkSurfaceCapabilitiesKHR -> IO VkResult
- vkGetPhysicalDeviceSurfaceCapabilitiesKHRSafe :: VkPhysicalDevice -> VkSurfaceKHR -> Ptr VkSurfaceCapabilitiesKHR -> IO VkResult
- type VkGetPhysicalDeviceSurfaceFormatsKHR = "vkGetPhysicalDeviceSurfaceFormatsKHR"
- pattern VkGetPhysicalDeviceSurfaceFormatsKHR :: CString
- type HS_vkGetPhysicalDeviceSurfaceFormatsKHR = VkPhysicalDevice -> VkSurfaceKHR -> Ptr Word32 -> Ptr VkSurfaceFormatKHR -> IO VkResult
- type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = FunPtr HS_vkGetPhysicalDeviceSurfaceFormatsKHR
- vkGetPhysicalDeviceSurfaceFormatsKHR :: VkPhysicalDevice -> VkSurfaceKHR -> Ptr Word32 -> Ptr VkSurfaceFormatKHR -> IO VkResult
- vkGetPhysicalDeviceSurfaceFormatsKHRSafe :: VkPhysicalDevice -> VkSurfaceKHR -> Ptr Word32 -> Ptr VkSurfaceFormatKHR -> IO VkResult
- type VkGetPhysicalDeviceSurfacePresentModesKHR = "vkGetPhysicalDeviceSurfacePresentModesKHR"
- pattern VkGetPhysicalDeviceSurfacePresentModesKHR :: CString
- type HS_vkGetPhysicalDeviceSurfacePresentModesKHR = VkPhysicalDevice -> VkSurfaceKHR -> Ptr Word32 -> Ptr VkPresentModeKHR -> IO VkResult
- type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = FunPtr HS_vkGetPhysicalDeviceSurfacePresentModesKHR
- vkGetPhysicalDeviceSurfacePresentModesKHR :: VkPhysicalDevice -> VkSurfaceKHR -> Ptr Word32 -> Ptr VkPresentModeKHR -> IO VkResult
- vkGetPhysicalDeviceSurfacePresentModesKHRSafe :: VkPhysicalDevice -> VkSurfaceKHR -> Ptr Word32 -> Ptr VkPresentModeKHR -> IO VkResult
- module Graphics.Vulkan.Marshal
- newtype VkBool32 = VkBool32 Word32
- newtype VkDeviceSize = VkDeviceSize Word64
- newtype VkFlags = VkFlags Word32
- newtype VkSampleMask = VkSampleMask Word32
- newtype VkColorComponentBitmask (a :: FlagType) = VkColorComponentBitmask VkFlags
- type VkColorComponentFlags = VkColorComponentBitmask FlagMask
- type VkColorComponentFlagBits = VkColorComponentBitmask FlagBit
- pattern VkColorComponentFlagBits :: VkFlags -> VkColorComponentBitmask FlagBit
- pattern VkColorComponentFlags :: VkFlags -> VkColorComponentBitmask FlagMask
- pattern VK_COLOR_COMPONENT_R_BIT :: VkColorComponentBitmask a
- pattern VK_COLOR_COMPONENT_G_BIT :: VkColorComponentBitmask a
- pattern VK_COLOR_COMPONENT_B_BIT :: VkColorComponentBitmask a
- pattern VK_COLOR_COMPONENT_A_BIT :: VkColorComponentBitmask a
- newtype VkColorSpaceKHR = VkColorSpaceKHR Int32
- pattern VK_COLOR_SPACE_SRGB_NONLINEAR_KHR :: VkColorSpaceKHR
- newtype VkCompositeAlphaBitmaskKHR (a :: FlagType) = VkCompositeAlphaBitmaskKHR VkFlags
- type VkCompositeAlphaFlagsKHR = VkCompositeAlphaBitmaskKHR FlagMask
- type VkCompositeAlphaFlagBitsKHR = VkCompositeAlphaBitmaskKHR FlagBit
- 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
- newtype VkFormat = VkFormat Int32
- pattern VK_FORMAT_UNDEFINED :: VkFormat
- pattern VK_FORMAT_R4G4_UNORM_PACK8 :: VkFormat
- pattern VK_FORMAT_R4G4B4A4_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_B4G4R4A4_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_R5G6B5_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_B5G6R5_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_R5G5B5A1_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_B5G5R5A1_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_A1R5G5B5_UNORM_PACK16 :: VkFormat
- pattern VK_FORMAT_R8_UNORM :: VkFormat
- pattern VK_FORMAT_R8_SNORM :: VkFormat
- pattern VK_FORMAT_R8_USCALED :: VkFormat
- pattern VK_FORMAT_R8_SSCALED :: VkFormat
- pattern VK_FORMAT_R8_UINT :: VkFormat
- pattern VK_FORMAT_R8_SINT :: VkFormat
- pattern VK_FORMAT_R8_SRGB :: VkFormat
- pattern VK_FORMAT_R8G8_UNORM :: VkFormat
- pattern VK_FORMAT_R8G8_SNORM :: VkFormat
- pattern VK_FORMAT_R8G8_USCALED :: VkFormat
- pattern VK_FORMAT_R8G8_SSCALED :: VkFormat
- pattern VK_FORMAT_R8G8_UINT :: VkFormat
- pattern VK_FORMAT_R8G8_SINT :: VkFormat
- pattern VK_FORMAT_R8G8_SRGB :: VkFormat
- pattern VK_FORMAT_R8G8B8_UNORM :: VkFormat
- pattern VK_FORMAT_R8G8B8_SNORM :: VkFormat
- pattern VK_FORMAT_R8G8B8_USCALED :: VkFormat
- pattern VK_FORMAT_R8G8B8_SSCALED :: VkFormat
- pattern VK_FORMAT_R8G8B8_UINT :: VkFormat
- pattern VK_FORMAT_R8G8B8_SINT :: VkFormat
- pattern VK_FORMAT_R8G8B8_SRGB :: VkFormat
- pattern VK_FORMAT_B8G8R8_UNORM :: VkFormat
- pattern VK_FORMAT_B8G8R8_SNORM :: VkFormat
- pattern VK_FORMAT_B8G8R8_USCALED :: VkFormat
- pattern VK_FORMAT_B8G8R8_SSCALED :: VkFormat
- pattern VK_FORMAT_B8G8R8_UINT :: VkFormat
- pattern VK_FORMAT_B8G8R8_SINT :: VkFormat
- pattern VK_FORMAT_B8G8R8_SRGB :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_UNORM :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_SNORM :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_USCALED :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_SSCALED :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_UINT :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_SINT :: VkFormat
- pattern VK_FORMAT_R8G8B8A8_SRGB :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_UNORM :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_SNORM :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_USCALED :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_SSCALED :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_UINT :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_SINT :: VkFormat
- pattern VK_FORMAT_B8G8R8A8_SRGB :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_UNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_SNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_USCALED_PACK32 :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_SSCALED_PACK32 :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_UINT_PACK32 :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_SINT_PACK32 :: VkFormat
- pattern VK_FORMAT_A8B8G8R8_SRGB_PACK32 :: VkFormat
- pattern VK_FORMAT_A2R10G10B10_UNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_A2R10G10B10_SNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_A2R10G10B10_USCALED_PACK32 :: VkFormat
- pattern VK_FORMAT_A2R10G10B10_SSCALED_PACK32 :: VkFormat
- pattern VK_FORMAT_A2R10G10B10_UINT_PACK32 :: VkFormat
- pattern VK_FORMAT_A2R10G10B10_SINT_PACK32 :: VkFormat
- pattern VK_FORMAT_A2B10G10R10_UNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_A2B10G10R10_SNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_A2B10G10R10_USCALED_PACK32 :: VkFormat
- pattern VK_FORMAT_A2B10G10R10_SSCALED_PACK32 :: VkFormat
- pattern VK_FORMAT_A2B10G10R10_UINT_PACK32 :: VkFormat
- pattern VK_FORMAT_A2B10G10R10_SINT_PACK32 :: VkFormat
- pattern VK_FORMAT_R16_UNORM :: VkFormat
- pattern VK_FORMAT_R16_SNORM :: VkFormat
- pattern VK_FORMAT_R16_USCALED :: VkFormat
- pattern VK_FORMAT_R16_SSCALED :: VkFormat
- pattern VK_FORMAT_R16_UINT :: VkFormat
- pattern VK_FORMAT_R16_SINT :: VkFormat
- pattern VK_FORMAT_R16_SFLOAT :: VkFormat
- pattern VK_FORMAT_R16G16_UNORM :: VkFormat
- pattern VK_FORMAT_R16G16_SNORM :: VkFormat
- pattern VK_FORMAT_R16G16_USCALED :: VkFormat
- pattern VK_FORMAT_R16G16_SSCALED :: VkFormat
- pattern VK_FORMAT_R16G16_UINT :: VkFormat
- pattern VK_FORMAT_R16G16_SINT :: VkFormat
- pattern VK_FORMAT_R16G16_SFLOAT :: VkFormat
- pattern VK_FORMAT_R16G16B16_UNORM :: VkFormat
- pattern VK_FORMAT_R16G16B16_SNORM :: VkFormat
- pattern VK_FORMAT_R16G16B16_USCALED :: VkFormat
- pattern VK_FORMAT_R16G16B16_SSCALED :: VkFormat
- pattern VK_FORMAT_R16G16B16_UINT :: VkFormat
- pattern VK_FORMAT_R16G16B16_SINT :: VkFormat
- pattern VK_FORMAT_R16G16B16_SFLOAT :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_UNORM :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_SNORM :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_USCALED :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_SSCALED :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_UINT :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_SINT :: VkFormat
- pattern VK_FORMAT_R16G16B16A16_SFLOAT :: VkFormat
- pattern VK_FORMAT_R32_UINT :: VkFormat
- pattern VK_FORMAT_R32_SINT :: VkFormat
- pattern VK_FORMAT_R32_SFLOAT :: VkFormat
- pattern VK_FORMAT_R32G32_UINT :: VkFormat
- pattern VK_FORMAT_R32G32_SINT :: VkFormat
- pattern VK_FORMAT_R32G32_SFLOAT :: VkFormat
- pattern VK_FORMAT_R32G32B32_UINT :: VkFormat
- pattern VK_FORMAT_R32G32B32_SINT :: VkFormat
- pattern VK_FORMAT_R32G32B32_SFLOAT :: VkFormat
- pattern VK_FORMAT_R32G32B32A32_UINT :: VkFormat
- pattern VK_FORMAT_R32G32B32A32_SINT :: VkFormat
- pattern VK_FORMAT_R32G32B32A32_SFLOAT :: VkFormat
- pattern VK_FORMAT_R64_UINT :: VkFormat
- pattern VK_FORMAT_R64_SINT :: VkFormat
- pattern VK_FORMAT_R64_SFLOAT :: VkFormat
- pattern VK_FORMAT_R64G64_UINT :: VkFormat
- pattern VK_FORMAT_R64G64_SINT :: VkFormat
- pattern VK_FORMAT_R64G64_SFLOAT :: VkFormat
- pattern VK_FORMAT_R64G64B64_UINT :: VkFormat
- pattern VK_FORMAT_R64G64B64_SINT :: VkFormat
- pattern VK_FORMAT_R64G64B64_SFLOAT :: VkFormat
- pattern VK_FORMAT_R64G64B64A64_UINT :: VkFormat
- pattern VK_FORMAT_R64G64B64A64_SINT :: VkFormat
- pattern VK_FORMAT_R64G64B64A64_SFLOAT :: VkFormat
- pattern VK_FORMAT_B10G11R11_UFLOAT_PACK32 :: VkFormat
- pattern VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 :: VkFormat
- pattern VK_FORMAT_D16_UNORM :: VkFormat
- pattern VK_FORMAT_X8_D24_UNORM_PACK32 :: VkFormat
- pattern VK_FORMAT_D32_SFLOAT :: VkFormat
- pattern VK_FORMAT_S8_UINT :: VkFormat
- pattern VK_FORMAT_D16_UNORM_S8_UINT :: VkFormat
- pattern VK_FORMAT_D24_UNORM_S8_UINT :: VkFormat
- pattern VK_FORMAT_D32_SFLOAT_S8_UINT :: VkFormat
- pattern VK_FORMAT_BC1_RGB_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC1_RGB_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_BC1_RGBA_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC1_RGBA_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_BC2_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC2_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_BC3_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC3_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_BC4_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC4_SNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC5_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC5_SNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC6H_UFLOAT_BLOCK :: VkFormat
- pattern VK_FORMAT_BC6H_SFLOAT_BLOCK :: VkFormat
- pattern VK_FORMAT_BC7_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_BC7_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_EAC_R11_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_EAC_R11_SNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_EAC_R11G11_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_EAC_R11G11_SNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_4x4_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_4x4_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_5x4_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_5x4_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_5x5_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_5x5_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_6x5_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_6x5_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_6x6_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_6x6_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_8x5_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_8x5_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_8x6_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_8x6_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_8x8_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_8x8_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x5_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x5_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x6_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x6_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x8_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x8_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x10_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_10x10_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_12x10_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_12x10_SRGB_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_12x12_UNORM_BLOCK :: VkFormat
- pattern VK_FORMAT_ASTC_12x12_SRGB_BLOCK :: VkFormat
- newtype VkFormatFeatureBitmask (a :: FlagType) = VkFormatFeatureBitmask VkFlags
- type VkFormatFeatureFlags = VkFormatFeatureBitmask FlagMask
- type VkFormatFeatureFlagBits = VkFormatFeatureBitmask FlagBit
- pattern VkFormatFeatureFlagBits :: VkFlags -> VkFormatFeatureBitmask FlagBit
- pattern VkFormatFeatureFlags :: VkFlags -> VkFormatFeatureBitmask FlagMask
- pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_BLIT_SRC_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_BLIT_DST_BIT :: VkFormatFeatureBitmask a
- pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT :: VkFormatFeatureBitmask a
- newtype VkImageAspectBitmask (a :: FlagType) = VkImageAspectBitmask VkFlags
- type VkImageAspectFlags = VkImageAspectBitmask FlagMask
- type VkImageAspectFlagBits = VkImageAspectBitmask FlagBit
- 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) = VkImageCreateBitmask VkFlags
- type VkImageCreateFlags = VkImageCreateBitmask FlagMask
- type VkImageCreateFlagBits = VkImageCreateBitmask FlagBit
- 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 = 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 = VkImageTiling Int32
- pattern VK_IMAGE_TILING_OPTIMAL :: VkImageTiling
- pattern VK_IMAGE_TILING_LINEAR :: VkImageTiling
- newtype VkImageType = VkImageType Int32
- pattern VK_IMAGE_TYPE_1D :: VkImageType
- pattern VK_IMAGE_TYPE_2D :: VkImageType
- pattern VK_IMAGE_TYPE_3D :: VkImageType
- newtype VkImageUsageBitmask (a :: FlagType) = VkImageUsageBitmask VkFlags
- type VkImageUsageFlags = VkImageUsageBitmask FlagMask
- type VkImageUsageFlagBits = VkImageUsageBitmask FlagBit
- 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 = 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
- newtype VkInternalAllocationType = VkInternalAllocationType Int32
- pattern VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE :: VkInternalAllocationType
- newtype VkPresentModeKHR = VkPresentModeKHR Int32
- pattern VK_PRESENT_MODE_IMMEDIATE_KHR :: VkPresentModeKHR
- pattern VK_PRESENT_MODE_MAILBOX_KHR :: VkPresentModeKHR
- pattern VK_PRESENT_MODE_FIFO_KHR :: VkPresentModeKHR
- pattern VK_PRESENT_MODE_FIFO_RELAXED_KHR :: VkPresentModeKHR
- newtype VkResult = 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
- newtype VkSurfaceCounterBitmaskEXT (a :: FlagType) = VkSurfaceCounterBitmaskEXT VkFlags
- type VkSurfaceCounterFlagsEXT = VkSurfaceCounterBitmaskEXT FlagMask
- type VkSurfaceCounterFlagBitsEXT = VkSurfaceCounterBitmaskEXT FlagBit
- pattern VkSurfaceCounterFlagBitsEXT :: VkFlags -> VkSurfaceCounterBitmaskEXT FlagBit
- pattern VkSurfaceCounterFlagsEXT :: VkFlags -> VkSurfaceCounterBitmaskEXT FlagMask
- pattern VK_SURFACE_COUNTER_VBLANK_EXT :: VkSurfaceCounterBitmaskEXT a
- newtype VkSurfaceTransformBitmaskKHR (a :: FlagType) = VkSurfaceTransformBitmaskKHR VkFlags
- type VkSurfaceTransformFlagsKHR = VkSurfaceTransformBitmaskKHR FlagMask
- type VkSurfaceTransformFlagBitsKHR = VkSurfaceTransformBitmaskKHR FlagBit
- 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
- newtype VkSystemAllocationScope = VkSystemAllocationScope Int32
- pattern VK_SYSTEM_ALLOCATION_SCOPE_COMMAND :: VkSystemAllocationScope
- pattern VK_SYSTEM_ALLOCATION_SCOPE_OBJECT :: VkSystemAllocationScope
- pattern VK_SYSTEM_ALLOCATION_SCOPE_CACHE :: VkSystemAllocationScope
- pattern VK_SYSTEM_ALLOCATION_SCOPE_DEVICE :: VkSystemAllocationScope
- pattern VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE :: VkSystemAllocationScope
- type PFN_vkAllocationFunction = FunPtr HS_vkAllocationFunction
- type HS_vkAllocationFunction = Ptr Void -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr Void)
- newVkAllocationFunction :: HS_vkAllocationFunction -> IO PFN_vkAllocationFunction
- unwrapVkAllocationFunction :: PFN_vkAllocationFunction -> HS_vkAllocationFunction
- type PFN_vkDebugReportCallbackEXT = FunPtr HS_vkDebugReportCallbackEXT
- type HS_vkDebugReportCallbackEXT = VkDebugReportFlagsEXT -> VkDebugReportObjectTypeEXT -> Word64 -> CSize -> Int32 -> CString -> CString -> Ptr Void -> IO VkBool32
- newVkDebugReportCallbackEXT :: HS_vkDebugReportCallbackEXT -> IO PFN_vkDebugReportCallbackEXT
- unwrapVkDebugReportCallbackEXT :: PFN_vkDebugReportCallbackEXT -> HS_vkDebugReportCallbackEXT
- type PFN_vkDebugUtilsMessengerCallbackEXT = FunPtr HS_vkDebugUtilsMessengerCallbackEXT
- type HS_vkDebugUtilsMessengerCallbackEXT = VkDebugUtilsMessageSeverityFlagBitsEXT -> VkDebugUtilsMessageTypeFlagsEXT -> Ptr VkDebugUtilsMessengerCallbackDataEXT -> Ptr Void -> IO VkBool32
- newVkDebugUtilsMessengerCallbackEXT :: HS_vkDebugUtilsMessengerCallbackEXT -> IO PFN_vkDebugUtilsMessengerCallbackEXT
- unwrapVkDebugUtilsMessengerCallbackEXT :: PFN_vkDebugUtilsMessengerCallbackEXT -> HS_vkDebugUtilsMessengerCallbackEXT
- type PFN_vkFreeFunction = FunPtr HS_vkFreeFunction
- type HS_vkFreeFunction = Ptr Void -> Ptr Void -> IO ()
- newVkFreeFunction :: HS_vkFreeFunction -> IO PFN_vkFreeFunction
- unwrapVkFreeFunction :: PFN_vkFreeFunction -> HS_vkFreeFunction
- type PFN_vkInternalAllocationNotification = FunPtr HS_vkInternalAllocationNotification
- type HS_vkInternalAllocationNotification = Ptr Void -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()
- newVkInternalAllocationNotification :: HS_vkInternalAllocationNotification -> IO PFN_vkInternalAllocationNotification
- unwrapVkInternalAllocationNotification :: PFN_vkInternalAllocationNotification -> HS_vkInternalAllocationNotification
- type PFN_vkInternalFreeNotification = FunPtr HS_vkInternalFreeNotification
- type HS_vkInternalFreeNotification = Ptr Void -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()
- newVkInternalFreeNotification :: HS_vkInternalFreeNotification -> IO PFN_vkInternalFreeNotification
- unwrapVkInternalFreeNotification :: PFN_vkInternalFreeNotification -> HS_vkInternalFreeNotification
- type PFN_vkReallocationFunction = FunPtr HS_vkReallocationFunction
- type HS_vkReallocationFunction = Ptr Void -> Ptr Void -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr Void)
- newVkReallocationFunction :: HS_vkReallocationFunction -> IO PFN_vkReallocationFunction
- unwrapVkReallocationFunction :: PFN_vkReallocationFunction -> HS_vkReallocationFunction
- type PFN_vkVoidFunction = FunPtr HS_vkVoidFunction
- type HS_vkVoidFunction = IO ()
- newVkVoidFunction :: HS_vkVoidFunction -> IO PFN_vkVoidFunction
- unwrapVkVoidFunction :: PFN_vkVoidFunction -> HS_vkVoidFunction
- type VkBuffer = VkPtr VkBuffer_T
- data VkBuffer_T
- type VkBufferView = VkPtr VkBufferView_T
- data VkBufferView_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 VkDescriptorPool = VkPtr VkDescriptorPool_T
- data VkDescriptorPool_T
- type VkDescriptorSet = VkPtr VkDescriptorSet_T
- data VkDescriptorSet_T
- type VkDescriptorSetLayout = VkPtr VkDescriptorSetLayout_T
- data VkDescriptorSetLayout_T
- type VkDescriptorUpdateTemplate = VkPtr VkDescriptorUpdateTemplate_T
- data VkDescriptorUpdateTemplate_T
- type VkDescriptorUpdateTemplateKHR = VkPtr VkDescriptorUpdateTemplateKHR_T
- data VkDescriptorUpdateTemplateKHR_T
- type VkDevice = Ptr VkDevice_T
- data VkDevice_T
- type VkDeviceMemory = VkPtr VkDeviceMemory_T
- data VkDeviceMemory_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
- data VkImage_T
- type VkImageView = VkPtr VkImageView_T
- data VkImageView_T
- type VkIndirectCommandsLayoutNVX = VkPtr VkIndirectCommandsLayoutNVX_T
- data VkIndirectCommandsLayoutNVX_T
- type VkInstance = Ptr VkInstance_T
- data VkInstance_T
- type VkObjectTableNVX = VkPtr VkObjectTableNVX_T
- data VkObjectTableNVX_T
- type VkPhysicalDevice = Ptr VkPhysicalDevice_T
- data VkPhysicalDevice_T
- type VkPipeline = VkPtr VkPipeline_T
- data VkPipeline_T
- type VkPipelineCache = VkPtr VkPipelineCache_T
- data VkPipelineCache_T
- type VkPipelineLayout = VkPtr VkPipelineLayout_T
- data VkPipelineLayout_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
- data VkSampler_T
- type VkSamplerYcbcrConversion = VkPtr VkSamplerYcbcrConversion_T
- data VkSamplerYcbcrConversion_T
- type VkSamplerYcbcrConversionKHR = VkPtr VkSamplerYcbcrConversionKHR_T
- data VkSamplerYcbcrConversionKHR_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
- data VkAllocationCallbacks = VkAllocationCallbacks# Addr# ByteArray#
- data VkExtent2D = VkExtent2D# Addr# ByteArray#
- data VkExtent3D = VkExtent3D# Addr# ByteArray#
- data VkSurfaceCapabilities2EXT = VkSurfaceCapabilities2EXT# Addr# ByteArray#
- data VkSurfaceCapabilities2KHR = VkSurfaceCapabilities2KHR# Addr# ByteArray#
- data VkSurfaceCapabilitiesKHR = VkSurfaceCapabilitiesKHR# Addr# ByteArray#
- data VkSurfaceFormat2KHR = VkSurfaceFormat2KHR# Addr# ByteArray#
- data VkSurfaceFormatKHR = VkSurfaceFormatKHR# Addr# ByteArray#
- type VK_KHR_SURFACE_SPEC_VERSION = 25
- pattern VK_KHR_SURFACE_SPEC_VERSION :: (Num a, Eq a) => a
- type VK_KHR_SURFACE_EXTENSION_NAME = "VK_KHR_surface"
- pattern VK_KHR_SURFACE_EXTENSION_NAME :: CString
- pattern VK_ERROR_SURFACE_LOST_KHR :: VkResult
- pattern VK_ERROR_NATIVE_WINDOW_IN_USE_KHR :: VkResult
- pattern VK_COLORSPACE_SRGB_NONLINEAR_KHR :: VkColorSpaceKHR
- pattern VK_OBJECT_TYPE_SURFACE_KHR :: VkObjectType
Vulkan extension: VK_KHR_surface
supported: vulkan
contact: James Jones cubanismo,Ian Elliott ianelliottgoogle.com
author: KHR
type: instance
Extension number: 1
type VkDestroySurfaceKHR = "vkDestroySurfaceKHR" Source #
pattern VkDestroySurfaceKHR :: CString Source #
type HS_vkDestroySurfaceKHR Source #
Arguments
| = VkInstance | instance |
| -> VkSurfaceKHR | surface |
| -> Ptr VkAllocationCallbacks | pAllocator |
| -> IO () |
void vkDestroySurfaceKHR
( VkInstance instance
, VkSurfaceKHR surface
, const VkAllocationCallbacks* pAllocator
)Arguments
| :: VkInstance | instance |
| -> VkSurfaceKHR | surface |
| -> Ptr VkAllocationCallbacks | pAllocator |
| -> IO () |
void vkDestroySurfaceKHR
( VkInstance instance
, VkSurfaceKHR surface
, const VkAllocationCallbacks* pAllocator
)vkDestroySurfaceKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkDestroySurfaceKHRSafe and vkDestroySurfaceKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myDestroySurfaceKHR <- vkGetInstanceProc @VkDestroySurfaceKHR vkInstance
or less efficient:
myDestroySurfaceKHR <- vkGetProc @VkDestroySurfaceKHR
vkDestroySurfaceKHRSafe Source #
Arguments
| :: VkInstance | instance |
| -> VkSurfaceKHR | surface |
| -> Ptr VkAllocationCallbacks | pAllocator |
| -> IO () |
void vkDestroySurfaceKHR
( VkInstance instance
, VkSurfaceKHR surface
, const VkAllocationCallbacks* pAllocator
)vkDestroySurfaceKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkDestroySurfaceKHRSafe and vkDestroySurfaceKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myDestroySurfaceKHR <- vkGetInstanceProc @VkDestroySurfaceKHR vkInstance
or less efficient:
myDestroySurfaceKHR <- vkGetProc @VkDestroySurfaceKHR
type VkGetPhysicalDeviceSurfaceSupportKHR = "vkGetPhysicalDeviceSurfaceSupportKHR" Source #
pattern VkGetPhysicalDeviceSurfaceSupportKHR :: CString Source #
type HS_vkGetPhysicalDeviceSurfaceSupportKHR Source #
Arguments
| = VkPhysicalDevice | physicalDevice |
| -> Word32 | queueFamilyIndex |
| -> VkSurfaceKHR | surface |
| -> Ptr VkBool32 | pSupported |
| -> IO VkResult |
Success codes: VK_SUCCESS.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceSupportKHR
( VkPhysicalDevice physicalDevice
, uint32_t queueFamilyIndex
, VkSurfaceKHR surface
, VkBool32* pSupported
)vkGetPhysicalDeviceSurfaceSupportKHR registry at www.khronos.org
type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = FunPtr HS_vkGetPhysicalDeviceSurfaceSupportKHR Source #
vkGetPhysicalDeviceSurfaceSupportKHR Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> Word32 | queueFamilyIndex |
| -> VkSurfaceKHR | surface |
| -> Ptr VkBool32 | pSupported |
| -> IO VkResult |
Success codes: VK_SUCCESS.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceSupportKHR
( VkPhysicalDevice physicalDevice
, uint32_t queueFamilyIndex
, VkSurfaceKHR surface
, VkBool32* pSupported
)vkGetPhysicalDeviceSurfaceSupportKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfaceSupportKHRSafe and vkGetPhysicalDeviceSurfaceSupportKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfaceSupportKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfaceSupportKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfaceSupportKHR <- vkGetProc @VkGetPhysicalDeviceSurfaceSupportKHR
vkGetPhysicalDeviceSurfaceSupportKHRSafe Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> Word32 | queueFamilyIndex |
| -> VkSurfaceKHR | surface |
| -> Ptr VkBool32 | pSupported |
| -> IO VkResult |
Success codes: VK_SUCCESS.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceSupportKHR
( VkPhysicalDevice physicalDevice
, uint32_t queueFamilyIndex
, VkSurfaceKHR surface
, VkBool32* pSupported
)vkGetPhysicalDeviceSurfaceSupportKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfaceSupportKHRSafe and vkGetPhysicalDeviceSurfaceSupportKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfaceSupportKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfaceSupportKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfaceSupportKHR <- vkGetProc @VkGetPhysicalDeviceSurfaceSupportKHR
type VkGetPhysicalDeviceSurfaceCapabilitiesKHR = "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" Source #
pattern VkGetPhysicalDeviceSurfaceCapabilitiesKHR :: CString Source #
type HS_vkGetPhysicalDeviceSurfaceCapabilitiesKHR Source #
Arguments
| = VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr VkSurfaceCapabilitiesKHR | pSurfaceCapabilities |
| -> IO VkResult |
Success codes: VK_SUCCESS.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities
)vkGetPhysicalDeviceSurfaceCapabilitiesKHR registry at www.khronos.org
type PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR = FunPtr HS_vkGetPhysicalDeviceSurfaceCapabilitiesKHR Source #
vkGetPhysicalDeviceSurfaceCapabilitiesKHR Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr VkSurfaceCapabilitiesKHR | pSurfaceCapabilities |
| -> IO VkResult |
Success codes: VK_SUCCESS.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities
)vkGetPhysicalDeviceSurfaceCapabilitiesKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfaceCapabilitiesKHRSafe and vkGetPhysicalDeviceSurfaceCapabilitiesKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfaceCapabilitiesKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfaceCapabilitiesKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfaceCapabilitiesKHR <- vkGetProc @VkGetPhysicalDeviceSurfaceCapabilitiesKHR
vkGetPhysicalDeviceSurfaceCapabilitiesKHRSafe Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr VkSurfaceCapabilitiesKHR | pSurfaceCapabilities |
| -> IO VkResult |
Success codes: VK_SUCCESS.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities
)vkGetPhysicalDeviceSurfaceCapabilitiesKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfaceCapabilitiesKHRSafe and vkGetPhysicalDeviceSurfaceCapabilitiesKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfaceCapabilitiesKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfaceCapabilitiesKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfaceCapabilitiesKHR <- vkGetProc @VkGetPhysicalDeviceSurfaceCapabilitiesKHR
type VkGetPhysicalDeviceSurfaceFormatsKHR = "vkGetPhysicalDeviceSurfaceFormatsKHR" Source #
pattern VkGetPhysicalDeviceSurfaceFormatsKHR :: CString Source #
type HS_vkGetPhysicalDeviceSurfaceFormatsKHR Source #
Arguments
| = VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr Word32 | pSurfaceFormatCount |
| -> Ptr VkSurfaceFormatKHR | pSurfaceFormats |
| -> IO VkResult |
Success codes: VK_SUCCESS, VK_INCOMPLETE.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceFormatsKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, uint32_t* pSurfaceFormatCount
, VkSurfaceFormatKHR* pSurfaceFormats
)vkGetPhysicalDeviceSurfaceFormatsKHR registry at www.khronos.org
type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = FunPtr HS_vkGetPhysicalDeviceSurfaceFormatsKHR Source #
vkGetPhysicalDeviceSurfaceFormatsKHR Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr Word32 | pSurfaceFormatCount |
| -> Ptr VkSurfaceFormatKHR | pSurfaceFormats |
| -> IO VkResult |
Success codes: VK_SUCCESS, VK_INCOMPLETE.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceFormatsKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, uint32_t* pSurfaceFormatCount
, VkSurfaceFormatKHR* pSurfaceFormats
)vkGetPhysicalDeviceSurfaceFormatsKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfaceFormatsKHRSafe and vkGetPhysicalDeviceSurfaceFormatsKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfaceFormatsKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfaceFormatsKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfaceFormatsKHR <- vkGetProc @VkGetPhysicalDeviceSurfaceFormatsKHR
vkGetPhysicalDeviceSurfaceFormatsKHRSafe Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr Word32 | pSurfaceFormatCount |
| -> Ptr VkSurfaceFormatKHR | pSurfaceFormats |
| -> IO VkResult |
Success codes: VK_SUCCESS, VK_INCOMPLETE.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfaceFormatsKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, uint32_t* pSurfaceFormatCount
, VkSurfaceFormatKHR* pSurfaceFormats
)vkGetPhysicalDeviceSurfaceFormatsKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfaceFormatsKHRSafe and vkGetPhysicalDeviceSurfaceFormatsKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfaceFormatsKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfaceFormatsKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfaceFormatsKHR <- vkGetProc @VkGetPhysicalDeviceSurfaceFormatsKHR
type VkGetPhysicalDeviceSurfacePresentModesKHR = "vkGetPhysicalDeviceSurfacePresentModesKHR" Source #
pattern VkGetPhysicalDeviceSurfacePresentModesKHR :: CString Source #
type HS_vkGetPhysicalDeviceSurfacePresentModesKHR Source #
Arguments
| = VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr Word32 | pPresentModeCount |
| -> Ptr VkPresentModeKHR | pPresentModes |
| -> IO VkResult |
Success codes: VK_SUCCESS, VK_INCOMPLETE.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfacePresentModesKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, uint32_t* pPresentModeCount
, VkPresentModeKHR* pPresentModes
)vkGetPhysicalDeviceSurfacePresentModesKHR registry at www.khronos.org
type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = FunPtr HS_vkGetPhysicalDeviceSurfacePresentModesKHR Source #
vkGetPhysicalDeviceSurfacePresentModesKHR Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr Word32 | pPresentModeCount |
| -> Ptr VkPresentModeKHR | pPresentModes |
| -> IO VkResult |
Success codes: VK_SUCCESS, VK_INCOMPLETE.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfacePresentModesKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, uint32_t* pPresentModeCount
, VkPresentModeKHR* pPresentModes
)vkGetPhysicalDeviceSurfacePresentModesKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfacePresentModesKHRSafe and vkGetPhysicalDeviceSurfacePresentModesKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfacePresentModesKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfacePresentModesKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfacePresentModesKHR <- vkGetProc @VkGetPhysicalDeviceSurfacePresentModesKHR
vkGetPhysicalDeviceSurfacePresentModesKHRSafe Source #
Arguments
| :: VkPhysicalDevice | physicalDevice |
| -> VkSurfaceKHR | surface |
| -> Ptr Word32 | pPresentModeCount |
| -> Ptr VkPresentModeKHR | pPresentModes |
| -> IO VkResult |
Success codes: VK_SUCCESS, VK_INCOMPLETE.
Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR.
VkResult vkGetPhysicalDeviceSurfacePresentModesKHR
( VkPhysicalDevice physicalDevice
, VkSurfaceKHR surface
, uint32_t* pPresentModeCount
, VkPresentModeKHR* pPresentModes
)vkGetPhysicalDeviceSurfacePresentModesKHR registry at www.khronos.org
Note: flag useNativeFFI-1-0 is disabled, so this function is looked up
dynamically at runtime;
vkGetPhysicalDeviceSurfacePresentModesKHRSafe and vkGetPhysicalDeviceSurfacePresentModesKHR are synonyms.
Independently of the flag setting, you can lookup the function manually at runtime:
myGetPhysicalDeviceSurfacePresentModesKHR <- vkGetInstanceProc @VkGetPhysicalDeviceSurfacePresentModesKHR vkInstance
or less efficient:
myGetPhysicalDeviceSurfacePresentModesKHR <- vkGetProc @VkGetPhysicalDeviceSurfacePresentModesKHR
module Graphics.Vulkan.Marshal
Instances
newtype VkDeviceSize Source #
Constructors
| VkDeviceSize Word64 |
Instances
Instances
newtype VkSampleMask Source #
Constructors
| VkSampleMask Word32 |
Instances
newtype VkColorComponentBitmask (a :: FlagType) Source #
Constructors
| VkColorComponentBitmask VkFlags |
Instances
pattern VkColorComponentFlagBits :: VkFlags -> VkColorComponentBitmask FlagBit Source #
pattern VkColorComponentFlags :: VkFlags -> VkColorComponentBitmask FlagMask Source #
pattern VK_COLOR_COMPONENT_R_BIT :: VkColorComponentBitmask a Source #
bitpos = 0
pattern VK_COLOR_COMPONENT_G_BIT :: VkColorComponentBitmask a Source #
bitpos = 1
pattern VK_COLOR_COMPONENT_B_BIT :: VkColorComponentBitmask a Source #
bitpos = 2
pattern VK_COLOR_COMPONENT_A_BIT :: VkColorComponentBitmask a Source #
bitpos = 3
newtype VkColorSpaceKHR Source #
type = enum
Constructors
| VkColorSpaceKHR Int32 |
Instances
pattern VK_COLOR_SPACE_SRGB_NONLINEAR_KHR :: VkColorSpaceKHR Source #
newtype VkCompositeAlphaBitmaskKHR (a :: FlagType) Source #
Constructors
| VkCompositeAlphaBitmaskKHR VkFlags |
Instances
pattern VkCompositeAlphaFlagBitsKHR :: VkFlags -> VkCompositeAlphaBitmaskKHR FlagBit Source #
pattern VkCompositeAlphaFlagsKHR :: VkFlags -> VkCompositeAlphaBitmaskKHR FlagMask Source #
pattern VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR :: VkCompositeAlphaBitmaskKHR a Source #
bitpos = 0
pattern VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR :: VkCompositeAlphaBitmaskKHR a Source #
bitpos = 1
pattern VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR :: VkCompositeAlphaBitmaskKHR a Source #
bitpos = 2
pattern VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR :: VkCompositeAlphaBitmaskKHR a Source #
bitpos = 3
Instances
| Bounded VkFormat Source # | |
| Enum VkFormat Source # | |
Defined in Graphics.Vulkan.Types.Enum.Format | |
| Eq VkFormat Source # | |
| Data VkFormat Source # | |
Defined in Graphics.Vulkan.Types.Enum.Format Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VkFormat -> c VkFormat # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VkFormat # toConstr :: VkFormat -> Constr # dataTypeOf :: VkFormat -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VkFormat) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VkFormat) # gmapT :: (forall b. Data b => b -> b) -> VkFormat -> VkFormat # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VkFormat -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VkFormat -> r # gmapQ :: (forall d. Data d => d -> u) -> VkFormat -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> VkFormat -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> VkFormat -> m VkFormat # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VkFormat -> m VkFormat # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VkFormat -> m VkFormat # | |
| Num VkFormat Source # | |
Defined in Graphics.Vulkan.Types.Enum.Format | |
| Ord VkFormat Source # | |
Defined in Graphics.Vulkan.Types.Enum.Format | |
| Read VkFormat Source # | |
| Show VkFormat Source # | |
| Generic VkFormat Source # | |
| Storable VkFormat Source # | |
Defined in Graphics.Vulkan.Types.Enum.Format | |
| type Rep VkFormat Source # | |
Defined in Graphics.Vulkan.Types.Enum.Format | |
pattern VK_FORMAT_UNDEFINED :: VkFormat Source #
pattern VK_FORMAT_R4G4_UNORM_PACK8 :: VkFormat Source #
pattern VK_FORMAT_R4G4B4A4_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_B4G4R4A4_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_R5G6B5_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_B5G6R5_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_R5G5B5A1_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_B5G5R5A1_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_A1R5G5B5_UNORM_PACK16 :: VkFormat Source #
pattern VK_FORMAT_R8_UNORM :: VkFormat Source #
pattern VK_FORMAT_R8_SNORM :: VkFormat Source #
pattern VK_FORMAT_R8_USCALED :: VkFormat Source #
pattern VK_FORMAT_R8_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R8_UINT :: VkFormat Source #
pattern VK_FORMAT_R8_SINT :: VkFormat Source #
pattern VK_FORMAT_R8_SRGB :: VkFormat Source #
pattern VK_FORMAT_R8G8_UNORM :: VkFormat Source #
pattern VK_FORMAT_R8G8_SNORM :: VkFormat Source #
pattern VK_FORMAT_R8G8_USCALED :: VkFormat Source #
pattern VK_FORMAT_R8G8_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R8G8_UINT :: VkFormat Source #
pattern VK_FORMAT_R8G8_SINT :: VkFormat Source #
pattern VK_FORMAT_R8G8_SRGB :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_UNORM :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_SNORM :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_USCALED :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_UINT :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_SINT :: VkFormat Source #
pattern VK_FORMAT_R8G8B8_SRGB :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_UNORM :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_SNORM :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_USCALED :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_SSCALED :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_UINT :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_SINT :: VkFormat Source #
pattern VK_FORMAT_B8G8R8_SRGB :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_UNORM :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_SNORM :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_USCALED :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_UINT :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_SINT :: VkFormat Source #
pattern VK_FORMAT_R8G8B8A8_SRGB :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_UNORM :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_SNORM :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_USCALED :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_SSCALED :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_UINT :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_SINT :: VkFormat Source #
pattern VK_FORMAT_B8G8R8A8_SRGB :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_UNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_SNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_USCALED_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_SSCALED_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_UINT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_SINT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A8B8G8R8_SRGB_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2R10G10B10_UNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2R10G10B10_SNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2R10G10B10_USCALED_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2R10G10B10_SSCALED_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2R10G10B10_UINT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2R10G10B10_SINT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2B10G10R10_UNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2B10G10R10_SNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2B10G10R10_USCALED_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2B10G10R10_SSCALED_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2B10G10R10_UINT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_A2B10G10R10_SINT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_R16_UNORM :: VkFormat Source #
pattern VK_FORMAT_R16_SNORM :: VkFormat Source #
pattern VK_FORMAT_R16_USCALED :: VkFormat Source #
pattern VK_FORMAT_R16_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R16_UINT :: VkFormat Source #
pattern VK_FORMAT_R16_SINT :: VkFormat Source #
pattern VK_FORMAT_R16_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R16G16_UNORM :: VkFormat Source #
pattern VK_FORMAT_R16G16_SNORM :: VkFormat Source #
pattern VK_FORMAT_R16G16_USCALED :: VkFormat Source #
pattern VK_FORMAT_R16G16_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R16G16_UINT :: VkFormat Source #
pattern VK_FORMAT_R16G16_SINT :: VkFormat Source #
pattern VK_FORMAT_R16G16_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_UNORM :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_SNORM :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_USCALED :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_UINT :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_SINT :: VkFormat Source #
pattern VK_FORMAT_R16G16B16_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_UNORM :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_SNORM :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_USCALED :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_SSCALED :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_UINT :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_SINT :: VkFormat Source #
pattern VK_FORMAT_R16G16B16A16_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R32_UINT :: VkFormat Source #
pattern VK_FORMAT_R32_SINT :: VkFormat Source #
pattern VK_FORMAT_R32_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R32G32_UINT :: VkFormat Source #
pattern VK_FORMAT_R32G32_SINT :: VkFormat Source #
pattern VK_FORMAT_R32G32_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R32G32B32_UINT :: VkFormat Source #
pattern VK_FORMAT_R32G32B32_SINT :: VkFormat Source #
pattern VK_FORMAT_R32G32B32_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R32G32B32A32_UINT :: VkFormat Source #
pattern VK_FORMAT_R32G32B32A32_SINT :: VkFormat Source #
pattern VK_FORMAT_R32G32B32A32_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R64_UINT :: VkFormat Source #
pattern VK_FORMAT_R64_SINT :: VkFormat Source #
pattern VK_FORMAT_R64_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R64G64_UINT :: VkFormat Source #
pattern VK_FORMAT_R64G64_SINT :: VkFormat Source #
pattern VK_FORMAT_R64G64_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R64G64B64_UINT :: VkFormat Source #
pattern VK_FORMAT_R64G64B64_SINT :: VkFormat Source #
pattern VK_FORMAT_R64G64B64_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_R64G64B64A64_UINT :: VkFormat Source #
pattern VK_FORMAT_R64G64B64A64_SINT :: VkFormat Source #
pattern VK_FORMAT_R64G64B64A64_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_B10G11R11_UFLOAT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 :: VkFormat Source #
pattern VK_FORMAT_D16_UNORM :: VkFormat Source #
pattern VK_FORMAT_X8_D24_UNORM_PACK32 :: VkFormat Source #
pattern VK_FORMAT_D32_SFLOAT :: VkFormat Source #
pattern VK_FORMAT_S8_UINT :: VkFormat Source #
pattern VK_FORMAT_D16_UNORM_S8_UINT :: VkFormat Source #
pattern VK_FORMAT_D24_UNORM_S8_UINT :: VkFormat Source #
pattern VK_FORMAT_D32_SFLOAT_S8_UINT :: VkFormat Source #
pattern VK_FORMAT_BC1_RGB_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC1_RGB_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC1_RGBA_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC1_RGBA_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC2_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC2_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC3_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC3_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC4_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC4_SNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC5_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC5_SNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC6H_UFLOAT_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC6H_SFLOAT_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC7_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_BC7_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_EAC_R11_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_EAC_R11_SNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_EAC_R11G11_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_EAC_R11G11_SNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_4x4_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_4x4_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_5x4_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_5x4_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_5x5_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_5x5_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_6x5_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_6x5_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_6x6_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_6x6_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_8x5_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_8x5_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_8x6_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_8x6_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_8x8_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_8x8_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x5_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x5_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x6_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x6_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x8_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x8_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x10_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_10x10_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_12x10_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_12x10_SRGB_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_12x12_UNORM_BLOCK :: VkFormat Source #
pattern VK_FORMAT_ASTC_12x12_SRGB_BLOCK :: VkFormat Source #
newtype VkFormatFeatureBitmask (a :: FlagType) Source #
Constructors
| VkFormatFeatureBitmask VkFlags |
Instances
pattern VkFormatFeatureFlagBits :: VkFlags -> VkFormatFeatureBitmask FlagBit Source #
pattern VkFormatFeatureFlags :: VkFlags -> VkFormatFeatureBitmask FlagMask Source #
pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
bitpos = 0
pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for storage images (STORAGE_IMAGE descriptor type)
bitpos = 1
pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT :: VkFormatFeatureBitmask a Source #
Format supports atomic operations in case it is used for storage images
bitpos = 2
pattern VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for uniform texel buffers (TBOs)
bitpos = 3
pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for storage texel buffers (IBOs)
bitpos = 4
pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT :: VkFormatFeatureBitmask a Source #
Format supports atomic operations in case it is used for storage texel buffers
bitpos = 5
pattern VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for vertex buffers (VBOs)
bitpos = 6
pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for color attachment images
bitpos = 7
pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT :: VkFormatFeatureBitmask a Source #
Format supports blending in case it is used for color attachment images
bitpos = 8
pattern VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkFormatFeatureBitmask a Source #
Format can be used for depth/stencil attachment images
bitpos = 9
pattern VK_FORMAT_FEATURE_BLIT_SRC_BIT :: VkFormatFeatureBitmask a Source #
Format can be used as the source image of blits with vkCmdBlitImage
bitpos = 10
pattern VK_FORMAT_FEATURE_BLIT_DST_BIT :: VkFormatFeatureBitmask a Source #
Format can be used as the destination image of blits with vkCmdBlitImage
bitpos = 11
pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT :: VkFormatFeatureBitmask a Source #
Format can be filtered with VK_FILTER_LINEAR when being sampled
bitpos = 12
newtype VkImageAspectBitmask (a :: FlagType) Source #
Constructors
| VkImageAspectBitmask VkFlags |
Instances
pattern VkImageAspectFlagBits :: VkFlags -> VkImageAspectBitmask FlagBit Source #
pattern VkImageAspectFlags :: VkFlags -> VkImageAspectBitmask FlagMask Source #
pattern VK_IMAGE_ASPECT_COLOR_BIT :: VkImageAspectBitmask a Source #
bitpos = 0
pattern VK_IMAGE_ASPECT_DEPTH_BIT :: VkImageAspectBitmask a Source #
bitpos = 1
pattern VK_IMAGE_ASPECT_STENCIL_BIT :: VkImageAspectBitmask a Source #
bitpos = 2
pattern VK_IMAGE_ASPECT_METADATA_BIT :: VkImageAspectBitmask a Source #
bitpos = 3
newtype VkImageCreateBitmask (a :: FlagType) Source #
Constructors
| VkImageCreateBitmask VkFlags |
Instances
pattern VkImageCreateFlagBits :: VkFlags -> VkImageCreateBitmask FlagBit Source #
pattern VkImageCreateFlags :: VkFlags -> VkImageCreateBitmask FlagMask Source #
pattern VK_IMAGE_CREATE_SPARSE_BINDING_BIT :: VkImageCreateBitmask a Source #
Image should support sparse backing
bitpos = 0
pattern VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT :: VkImageCreateBitmask a Source #
Image should support sparse backing with partial residency
bitpos = 1
pattern VK_IMAGE_CREATE_SPARSE_ALIASED_BIT :: VkImageCreateBitmask a Source #
Image should support constent data access to physical memory ranges mapped into multiple locations of sparse images
bitpos = 2
pattern VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT :: VkImageCreateBitmask a Source #
Allows image views to have different format than the base image
bitpos = 3
pattern VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT :: VkImageCreateBitmask a Source #
Allows creating image views with cube type from the created image
bitpos = 4
newtype VkImageLayout Source #
type = enum
Constructors
| VkImageLayout Int32 |
Instances
pattern VK_IMAGE_LAYOUT_UNDEFINED :: VkImageLayout Source #
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 Source #
General layout when image can be used for any kind of access
pattern VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL :: VkImageLayout Source #
Optimal layout when image is only used for color attachment read/write
pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL :: VkImageLayout Source #
Optimal layout when image is only used for depthstencil attachment readwrite
pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL :: VkImageLayout Source #
Optimal layout when image is used for read only depth/stencil attachment and shader access
pattern VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL :: VkImageLayout Source #
Optimal layout when image is used for read only shader access
pattern VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL :: VkImageLayout Source #
Optimal layout when image is used only as source of transfer operations
pattern VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL :: VkImageLayout Source #
Optimal layout when image is used only as destination of transfer operations
pattern VK_IMAGE_LAYOUT_PREINITIALIZED :: VkImageLayout Source #
Initial layout used when the data is populated by the CPU
newtype VkImageTiling Source #
type = enum
Constructors
| VkImageTiling Int32 |
Instances
pattern VK_IMAGE_TILING_OPTIMAL :: VkImageTiling Source #
pattern VK_IMAGE_TILING_LINEAR :: VkImageTiling Source #
newtype VkImageType Source #
type = enum
Constructors
| VkImageType Int32 |
Instances
pattern VK_IMAGE_TYPE_1D :: VkImageType Source #
pattern VK_IMAGE_TYPE_2D :: VkImageType Source #
pattern VK_IMAGE_TYPE_3D :: VkImageType Source #
newtype VkImageUsageBitmask (a :: FlagType) Source #
Constructors
| VkImageUsageBitmask VkFlags |
Instances
pattern VkImageUsageFlagBits :: VkFlags -> VkImageUsageBitmask FlagBit Source #
pattern VkImageUsageFlags :: VkFlags -> VkImageUsageBitmask FlagMask Source #
pattern VK_IMAGE_USAGE_TRANSFER_SRC_BIT :: VkImageUsageBitmask a Source #
Can be used as a source of transfer operations
bitpos = 0
pattern VK_IMAGE_USAGE_TRANSFER_DST_BIT :: VkImageUsageBitmask a Source #
Can be used as a destination of transfer operations
bitpos = 1
pattern VK_IMAGE_USAGE_SAMPLED_BIT :: VkImageUsageBitmask a Source #
Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
bitpos = 2
pattern VK_IMAGE_USAGE_STORAGE_BIT :: VkImageUsageBitmask a Source #
Can be used as storage image (STORAGE_IMAGE descriptor type)
bitpos = 3
pattern VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT :: VkImageUsageBitmask a Source #
Can be used as framebuffer color attachment
bitpos = 4
pattern VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkImageUsageBitmask a Source #
Can be used as framebuffer depth/stencil attachment
bitpos = 5
pattern VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT :: VkImageUsageBitmask a Source #
Image data not needed outside of rendering
bitpos = 6
pattern VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT :: VkImageUsageBitmask a Source #
Can be used as framebuffer input attachment
bitpos = 7
newtype VkImageViewType Source #
type = enum
Constructors
| VkImageViewType Int32 |
Instances
pattern VK_IMAGE_VIEW_TYPE_1D :: VkImageViewType Source #
pattern VK_IMAGE_VIEW_TYPE_2D :: VkImageViewType Source #
pattern VK_IMAGE_VIEW_TYPE_3D :: VkImageViewType Source #
pattern VK_IMAGE_VIEW_TYPE_CUBE :: VkImageViewType Source #
pattern VK_IMAGE_VIEW_TYPE_1D_ARRAY :: VkImageViewType Source #
pattern VK_IMAGE_VIEW_TYPE_2D_ARRAY :: VkImageViewType Source #
pattern VK_IMAGE_VIEW_TYPE_CUBE_ARRAY :: VkImageViewType Source #
newtype VkInternalAllocationType Source #
Constructors
| VkInternalAllocationType Int32 |
Instances
newtype VkPresentModeKHR Source #
type = enum
Constructors
| VkPresentModeKHR Int32 |
Instances
pattern VK_PRESENT_MODE_IMMEDIATE_KHR :: VkPresentModeKHR Source #
pattern VK_PRESENT_MODE_MAILBOX_KHR :: VkPresentModeKHR Source #
pattern VK_PRESENT_MODE_FIFO_KHR :: VkPresentModeKHR Source #
pattern VK_PRESENT_MODE_FIFO_RELAXED_KHR :: VkPresentModeKHR Source #
Instances
| Bounded VkResult Source # | |
| Enum VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
| Eq VkResult Source # | |
| Data VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VkResult -> c VkResult # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VkResult # toConstr :: VkResult -> Constr # dataTypeOf :: VkResult -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VkResult) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VkResult) # gmapT :: (forall b. Data b => b -> b) -> VkResult -> VkResult # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VkResult -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VkResult -> r # gmapQ :: (forall d. Data d => d -> u) -> VkResult -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> VkResult -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> VkResult -> m VkResult # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VkResult -> m VkResult # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VkResult -> m VkResult # | |
| Num VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
| Ord VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
| Read VkResult Source # | |
| Show VkResult Source # | |
| Generic VkResult Source # | |
| Storable VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
| type Rep VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
pattern VK_SUCCESS :: VkResult Source #
Command completed successfully
pattern VK_NOT_READY :: VkResult Source #
A fence or query has not yet completed
pattern VK_TIMEOUT :: VkResult Source #
A wait operation has not completed in the specified time
pattern VK_EVENT_SET :: VkResult Source #
An event is signaled
pattern VK_EVENT_RESET :: VkResult Source #
An event is unsignaled
pattern VK_INCOMPLETE :: VkResult Source #
A return array was too small for the result
pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult Source #
A host memory allocation has failed
pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult Source #
A device memory allocation has failed
pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult Source #
Initialization of a object has failed
pattern VK_ERROR_DEVICE_LOST :: VkResult Source #
The logical device has been lost. See
pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult Source #
Mapping of a memory object has failed
pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult Source #
Layer specified does not exist
pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult Source #
Extension specified does not exist
pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult Source #
Requested feature is not available on this device
pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult Source #
Unable to find a Vulkan driver
pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult Source #
Too many objects of the type have already been created
pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult Source #
Requested format is not supported on this device
pattern VK_ERROR_FRAGMENTED_POOL :: VkResult Source #
A requested pool allocation has failed due to fragmentation of the pool's memory
newtype VkSurfaceCounterBitmaskEXT (a :: FlagType) Source #
Constructors
| VkSurfaceCounterBitmaskEXT VkFlags |
Instances
pattern VkSurfaceCounterFlagBitsEXT :: VkFlags -> VkSurfaceCounterBitmaskEXT FlagBit Source #
pattern VkSurfaceCounterFlagsEXT :: VkFlags -> VkSurfaceCounterBitmaskEXT FlagMask Source #
pattern VK_SURFACE_COUNTER_VBLANK_EXT :: VkSurfaceCounterBitmaskEXT a Source #
bitpos = 0
newtype VkSurfaceTransformBitmaskKHR (a :: FlagType) Source #
Constructors
| VkSurfaceTransformBitmaskKHR VkFlags |
Instances
pattern VkSurfaceTransformFlagsKHR :: VkFlags -> VkSurfaceTransformBitmaskKHR FlagMask Source #
pattern VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 0
pattern VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 1
pattern VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 2
pattern VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 3
pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 4
pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 5
pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 6
pattern VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 7
pattern VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR :: VkSurfaceTransformBitmaskKHR a Source #
bitpos = 8
newtype VkSystemAllocationScope Source #
Constructors
| VkSystemAllocationScope Int32 |
Instances
type PFN_vkAllocationFunction = FunPtr HS_vkAllocationFunction Source #
typedef void* (VKAPI_PTR *PFN_vkAllocationFunction)(
void* pUserData,
size_t size,
size_t alignment,
VkSystemAllocationScope allocationScope);type HS_vkAllocationFunction = Ptr Void -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr Void) Source #
newVkAllocationFunction :: HS_vkAllocationFunction -> IO PFN_vkAllocationFunction Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
type PFN_vkDebugReportCallbackEXT = FunPtr HS_vkDebugReportCallbackEXT Source #
typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)(
VkDebugReportFlagsEXT flags,
VkDebugReportObjectTypeEXT objectType,
uint64_t object,
size_t location,
int32_t messageCode,
const char* pLayerPrefix,
const char* pMessage,
void* pUserData);type HS_vkDebugReportCallbackEXT = VkDebugReportFlagsEXT -> VkDebugReportObjectTypeEXT -> Word64 -> CSize -> Int32 -> CString -> CString -> Ptr Void -> IO VkBool32 Source #
newVkDebugReportCallbackEXT :: HS_vkDebugReportCallbackEXT -> IO PFN_vkDebugReportCallbackEXT Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
unwrapVkDebugReportCallbackEXT :: PFN_vkDebugReportCallbackEXT -> HS_vkDebugReportCallbackEXT Source #
type PFN_vkDebugUtilsMessengerCallbackEXT = FunPtr HS_vkDebugUtilsMessengerCallbackEXT Source #
typedef VkBool32 (VKAPI_PTR *PFN_vkDebugUtilsMessengerCallbackEXT)(
VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData,
void* pUserData);type HS_vkDebugUtilsMessengerCallbackEXT = VkDebugUtilsMessageSeverityFlagBitsEXT -> VkDebugUtilsMessageTypeFlagsEXT -> Ptr VkDebugUtilsMessengerCallbackDataEXT -> Ptr Void -> IO VkBool32 Source #
newVkDebugUtilsMessengerCallbackEXT :: HS_vkDebugUtilsMessengerCallbackEXT -> IO PFN_vkDebugUtilsMessengerCallbackEXT Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
unwrapVkDebugUtilsMessengerCallbackEXT :: PFN_vkDebugUtilsMessengerCallbackEXT -> HS_vkDebugUtilsMessengerCallbackEXT Source #
type PFN_vkFreeFunction = FunPtr HS_vkFreeFunction Source #
typedef void (VKAPI_PTR *PFN_vkFreeFunction)(
void* pUserData,
void* pMemory);newVkFreeFunction :: HS_vkFreeFunction -> IO PFN_vkFreeFunction Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
type PFN_vkInternalAllocationNotification = FunPtr HS_vkInternalAllocationNotification Source #
typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(
void* pUserData,
size_t size,
VkInternalAllocationType allocationType,
VkSystemAllocationScope allocationScope);type HS_vkInternalAllocationNotification = Ptr Void -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO () Source #
newVkInternalAllocationNotification :: HS_vkInternalAllocationNotification -> IO PFN_vkInternalAllocationNotification Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
unwrapVkInternalAllocationNotification :: PFN_vkInternalAllocationNotification -> HS_vkInternalAllocationNotification Source #
type PFN_vkInternalFreeNotification = FunPtr HS_vkInternalFreeNotification Source #
typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
void* pUserData,
size_t size,
VkInternalAllocationType allocationType,
VkSystemAllocationScope allocationScope);type HS_vkInternalFreeNotification = Ptr Void -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO () Source #
newVkInternalFreeNotification :: HS_vkInternalFreeNotification -> IO PFN_vkInternalFreeNotification Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
unwrapVkInternalFreeNotification :: PFN_vkInternalFreeNotification -> HS_vkInternalFreeNotification Source #
type PFN_vkReallocationFunction = FunPtr HS_vkReallocationFunction Source #
typedef void* (VKAPI_PTR *PFN_vkReallocationFunction)(
void* pUserData,
void* pOriginal,
size_t size,
size_t alignment,
VkSystemAllocationScope allocationScope);type HS_vkReallocationFunction = Ptr Void -> Ptr Void -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr Void) Source #
newVkReallocationFunction :: HS_vkReallocationFunction -> IO PFN_vkReallocationFunction Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
type PFN_vkVoidFunction = FunPtr HS_vkVoidFunction Source #
typedef void (VKAPI_PTR *PFN_vkVoidFunction)(void);
type HS_vkVoidFunction = IO () Source #
newVkVoidFunction :: HS_vkVoidFunction -> IO PFN_vkVoidFunction Source #
Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.
type VkBuffer = VkPtr VkBuffer_T Source #
data VkBuffer_T Source #
Opaque data type referenced by VkBuffer
type VkBufferView = VkPtr VkBufferView_T Source #
data VkBufferView_T Source #
Opaque data type referenced by VkBufferView
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 VkDescriptorPool_T Source #
Opaque data type referenced by VkDescriptorPool
type VkDescriptorSet = VkPtr VkDescriptorSet_T Source #
data VkDescriptorSet_T Source #
Opaque data type referenced by VkDescriptorSet
data VkDescriptorSetLayout_T Source #
Opaque data type referenced by VkDescriptorSetLayout
data VkDescriptorUpdateTemplate_T Source #
Opaque data type referenced by VkDescriptorUpdateTemplate
data VkDescriptorUpdateTemplateKHR_T Source #
Opaque data type referenced by VkDescriptorUpdateTemplateKHR
type VkDevice = Ptr VkDevice_T Source #
data VkDevice_T Source #
Opaque data type referenced by VkDevice
type VkDeviceMemory = VkPtr VkDeviceMemory_T Source #
data VkDeviceMemory_T Source #
Opaque data type referenced by VkDeviceMemory
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 VkIndirectCommandsLayoutNVX_T Source #
Opaque data type referenced by VkIndirectCommandsLayoutNVX
type VkInstance = Ptr VkInstance_T Source #
data VkInstance_T Source #
Opaque data type referenced by VkInstance
data VkObjectTableNVX_T Source #
Opaque data type referenced by VkObjectTableNVX
type VkPhysicalDevice = Ptr VkPhysicalDevice_T Source #
data VkPhysicalDevice_T Source #
Opaque data type referenced by VkPhysicalDevice
type VkPipeline = VkPtr VkPipeline_T Source #
data VkPipeline_T Source #
Opaque data type referenced by VkPipeline
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
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 VkSampler_T Source #
Opaque data type referenced by VkSampler
data VkSamplerYcbcrConversion_T Source #
Opaque data type referenced by VkSamplerYcbcrConversion
data VkSamplerYcbcrConversionKHR_T Source #
Opaque data type referenced by VkSamplerYcbcrConversionKHR
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
data VkAllocationCallbacks Source #
typedef struct VkAllocationCallbacks {
void* pUserData;
PFN_vkAllocationFunction pfnAllocation;
PFN_vkReallocationFunction pfnReallocation;
PFN_vkFreeFunction pfnFree;
PFN_vkInternalAllocationNotification pfnInternalAllocation;
PFN_vkInternalFreeNotification pfnInternalFree;
} VkAllocationCallbacks;Constructors
| VkAllocationCallbacks# Addr# ByteArray# |
Instances
data VkExtent2D Source #
typedef struct VkExtent2D {
uint32_t width;
uint32_t height;
} VkExtent2D;Constructors
| VkExtent2D# Addr# ByteArray# |
Instances
data VkExtent3D Source #
typedef struct VkExtent3D {
uint32_t width;
uint32_t height;
uint32_t depth;
} VkExtent3D;Constructors
| VkExtent3D# Addr# ByteArray# |
Instances
data VkSurfaceCapabilities2EXT Source #
typedef struct VkSurfaceCapabilities2EXT {
VkStructureType sType;
void* pNext;
uint32_t minImageCount;
uint32_t maxImageCount;
VkExtent2D currentExtent;
VkExtent2D minImageExtent;
VkExtent2D maxImageExtent;
uint32_t maxImageArrayLayers;
VkSurfaceTransformFlagsKHR supportedTransforms;
VkSurfaceTransformFlagBitsKHR currentTransform;
VkCompositeAlphaFlagsKHR supportedCompositeAlpha;
VkImageUsageFlags supportedUsageFlags;
VkSurfaceCounterFlagsEXT supportedSurfaceCounters;
} VkSurfaceCapabilities2EXT;Constructors
| VkSurfaceCapabilities2EXT# Addr# ByteArray# |
Instances
data VkSurfaceCapabilities2KHR Source #
typedef struct VkSurfaceCapabilities2KHR {
VkStructureType sType;
void* pNext;
VkSurfaceCapabilitiesKHR surfaceCapabilities;
} VkSurfaceCapabilities2KHR;Constructors
| VkSurfaceCapabilities2KHR# Addr# ByteArray# |
Instances
data 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;Constructors
| VkSurfaceCapabilitiesKHR# Addr# ByteArray# |
Instances
data VkSurfaceFormat2KHR Source #
typedef struct VkSurfaceFormat2KHR {
VkStructureType sType;
void* pNext;
VkSurfaceFormatKHR surfaceFormat;
} VkSurfaceFormat2KHR;Constructors
| VkSurfaceFormat2KHR# Addr# ByteArray# |
Instances
data VkSurfaceFormatKHR Source #
typedef struct VkSurfaceFormatKHR {
VkFormat format;
VkColorSpaceKHR colorSpace;
} VkSurfaceFormatKHR;Constructors
| VkSurfaceFormatKHR# Addr# ByteArray# |
Instances
type VK_KHR_SURFACE_SPEC_VERSION = 25 Source #
pattern VK_KHR_SURFACE_SPEC_VERSION :: (Num a, Eq a) => a Source #
type VK_KHR_SURFACE_EXTENSION_NAME = "VK_KHR_surface" Source #
pattern VK_KHR_SURFACE_EXTENSION_NAME :: CString Source #
pattern VK_ERROR_SURFACE_LOST_KHR :: VkResult Source #
pattern VK_ERROR_NATIVE_WINDOW_IN_USE_KHR :: VkResult Source #
pattern VK_COLORSPACE_SRGB_NONLINEAR_KHR :: VkColorSpaceKHR Source #
pattern VK_OBJECT_TYPE_SURFACE_KHR :: VkObjectType Source #
VkSurfaceKHR
Orphan instances
| VulkanProc "vkDestroySurfaceKHR" Source # | |
Associated Types type VkProcType "vkDestroySurfaceKHR" Source # Methods vkProcSymbol :: CString Source # unwrapVkProcPtr :: FunPtr (VkProcType "vkDestroySurfaceKHR") -> VkProcType "vkDestroySurfaceKHR" Source # | |
| VulkanProc "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" Source # | |
Associated Types type VkProcType "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" Source # Methods vkProcSymbol :: CString Source # unwrapVkProcPtr :: FunPtr (VkProcType "vkGetPhysicalDeviceSurfaceCapabilitiesKHR") -> VkProcType "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" Source # | |
| VulkanProc "vkGetPhysicalDeviceSurfaceFormatsKHR" Source # | |
Associated Types type VkProcType "vkGetPhysicalDeviceSurfaceFormatsKHR" Source # Methods vkProcSymbol :: CString Source # unwrapVkProcPtr :: FunPtr (VkProcType "vkGetPhysicalDeviceSurfaceFormatsKHR") -> VkProcType "vkGetPhysicalDeviceSurfaceFormatsKHR" Source # | |
| VulkanProc "vkGetPhysicalDeviceSurfacePresentModesKHR" Source # | |
Associated Types type VkProcType "vkGetPhysicalDeviceSurfacePresentModesKHR" Source # Methods vkProcSymbol :: CString Source # unwrapVkProcPtr :: FunPtr (VkProcType "vkGetPhysicalDeviceSurfacePresentModesKHR") -> VkProcType "vkGetPhysicalDeviceSurfacePresentModesKHR" Source # | |
| VulkanProc "vkGetPhysicalDeviceSurfaceSupportKHR" Source # | |
Associated Types type VkProcType "vkGetPhysicalDeviceSurfaceSupportKHR" Source # Methods vkProcSymbol :: CString Source # unwrapVkProcPtr :: FunPtr (VkProcType "vkGetPhysicalDeviceSurfaceSupportKHR") -> VkProcType "vkGetPhysicalDeviceSurfaceSupportKHR" Source # | |