Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Instance_T
- data PhysicalDevice_T
- data Device_T
- newtype Image = Image Word64
- newtype Result where
- Result Int32
- pattern PIPELINE_COMPILE_REQUIRED_EXT :: Result
- pattern ERROR_OUT_OF_HOST_MEMORY :: Result
- pattern ERROR_FORMAT_NOT_SUPPORTED :: Result
- pattern ERROR_DEVICE_LOST :: Result
- pattern ERROR_OUT_OF_POOL_MEMORY :: Result
- pattern ERROR_INVALID_EXTERNAL_HANDLE :: Result
- pattern ERROR_FRAGMENTATION :: Result
- pattern ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS :: Result
- pattern ERROR_SURFACE_LOST_KHR :: Result
- pattern ERROR_NATIVE_WINDOW_IN_USE_KHR :: Result
- pattern SUBOPTIMAL_KHR :: Result
- pattern ERROR_OUT_OF_DATE_KHR :: Result
- pattern ERROR_INCOMPATIBLE_DISPLAY_KHR :: Result
- pattern ERROR_VALIDATION_FAILED_EXT :: Result
- pattern ERROR_INVALID_SHADER_NV :: Result
- pattern ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT :: Result
- pattern ERROR_NOT_PERMITTED_EXT :: Result
- pattern ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT :: Result
- pattern THREAD_IDLE_KHR :: Result
- pattern THREAD_DONE_KHR :: Result
- pattern OPERATION_DEFERRED_KHR :: Result
- pattern OPERATION_NOT_DEFERRED_KHR :: Result
- pattern ERROR_UNKNOWN :: Result
- pattern ERROR_FRAGMENTED_POOL :: Result
- pattern ERROR_TOO_MANY_OBJECTS :: Result
- pattern ERROR_INCOMPATIBLE_DRIVER :: Result
- pattern ERROR_FEATURE_NOT_PRESENT :: Result
- pattern ERROR_EXTENSION_NOT_PRESENT :: Result
- pattern ERROR_LAYER_NOT_PRESENT :: Result
- pattern ERROR_MEMORY_MAP_FAILED :: Result
- pattern ERROR_INITIALIZATION_FAILED :: Result
- pattern ERROR_OUT_OF_DEVICE_MEMORY :: Result
- pattern INCOMPLETE :: Result
- pattern EVENT_RESET :: Result
- pattern EVENT_SET :: Result
- pattern TIMEOUT :: Result
- pattern NOT_READY :: Result
- pattern SUCCESS :: Result
- newtype Format where
- Format Int32
- pattern FORMAT_R8G8B8A8_UNORM :: Format
- pattern FORMAT_R8_UINT :: Format
- pattern FORMAT_R8_SINT :: Format
- pattern FORMAT_R16_UINT :: Format
- pattern FORMAT_R16_SINT :: Format
- pattern FORMAT_R32_UINT :: Format
- pattern FORMAT_R32_SINT :: Format
- pattern FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT :: Format
- pattern FORMAT_A4R4G4B4_UNORM_PACK16_EXT :: Format
- pattern FORMAT_A4B4G4R4_UNORM_PACK16_EXT :: Format
- pattern FORMAT_R16G16B16A16_SFLOAT :: Format
- pattern FORMAT_E5B9G9R9_UFLOAT_PACK32 :: Format
- pattern FORMAT_UNDEFINED :: Format
- pattern FORMAT_R32G32B32_SFLOAT :: Format
- pattern FORMAT_R32G32_SFLOAT :: Format
- pattern FORMAT_R16G16B16_SFLOAT :: Format
- pattern FORMAT_R16G16_SFLOAT :: Format
- pattern FORMAT_R16G16_SNORM :: Format
- pattern FORMAT_R16G16B16_SNORM :: Format
- pattern FORMAT_G8_B8R8_2PLANE_420_UNORM :: Format
- pattern FORMAT_G8_B8_R8_3PLANE_420_UNORM :: Format
- pattern FORMAT_S8_UINT :: Format
- pattern FORMAT_D16_UNORM :: Format
- pattern FORMAT_D16_UNORM_S8_UINT :: Format
- pattern FORMAT_D32_SFLOAT :: Format
- pattern FORMAT_D32_SFLOAT_S8_UINT :: Format
- pattern FORMAT_X8_D24_UNORM_PACK32 :: Format
- pattern FORMAT_D24_UNORM_S8_UINT :: Format
- pattern FORMAT_R8G8_UNORM :: Format
- pattern FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 :: Format
- pattern FORMAT_B4G4R4A4_UNORM_PACK16 :: Format
- pattern FORMAT_B5G6R5_UNORM_PACK16 :: Format
- pattern FORMAT_B5G5R5A1_UNORM_PACK16 :: Format
- pattern FORMAT_G8B8G8R8_422_UNORM :: Format
- pattern FORMAT_B8G8R8G8_422_UNORM :: Format
- pattern FORMAT_G8_B8_R8_3PLANE_422_UNORM :: Format
- pattern FORMAT_G8_B8R8_2PLANE_422_UNORM :: Format
- pattern FORMAT_G8_B8_R8_3PLANE_444_UNORM :: Format
- pattern FORMAT_R10X6_UNORM_PACK16 :: Format
- pattern FORMAT_R10X6G10X6_UNORM_2PACK16 :: Format
- pattern FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 :: Format
- pattern FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 :: Format
- pattern FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 :: Format
- pattern FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 :: Format
- pattern FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 :: Format
- pattern FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 :: Format
- pattern FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 :: Format
- pattern FORMAT_R12X4_UNORM_PACK16 :: Format
- pattern FORMAT_R12X4G12X4_UNORM_2PACK16 :: Format
- pattern FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 :: Format
- pattern FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 :: Format
- pattern FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 :: Format
- pattern FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 :: Format
- pattern FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 :: Format
- pattern FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 :: Format
- pattern FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 :: Format
- pattern FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 :: Format
- pattern FORMAT_G16B16G16R16_422_UNORM :: Format
- pattern FORMAT_B16G16R16G16_422_UNORM :: Format
- pattern FORMAT_G16_B16_R16_3PLANE_420_UNORM :: Format
- pattern FORMAT_G16_B16R16_2PLANE_420_UNORM :: Format
- pattern FORMAT_G16_B16_R16_3PLANE_422_UNORM :: Format
- pattern FORMAT_G16_B16R16_2PLANE_422_UNORM :: Format
- pattern FORMAT_G16_B16_R16_3PLANE_444_UNORM :: Format
- pattern FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG :: Format
- pattern FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG :: Format
- pattern FORMAT_ASTC_12x12_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_12x12_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_12x10_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_12x10_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_10x10_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_10x10_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_10x8_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_10x8_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_10x6_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_10x6_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_10x5_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_10x5_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_8x8_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_8x8_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_8x6_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_8x6_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_8x5_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_8x5_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_6x6_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_6x6_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_6x5_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_6x5_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_5x5_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_5x5_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_5x4_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_5x4_UNORM_BLOCK :: Format
- pattern FORMAT_ASTC_4x4_SRGB_BLOCK :: Format
- pattern FORMAT_ASTC_4x4_UNORM_BLOCK :: Format
- pattern FORMAT_EAC_R11G11_SNORM_BLOCK :: Format
- pattern FORMAT_EAC_R11G11_UNORM_BLOCK :: Format
- pattern FORMAT_EAC_R11_SNORM_BLOCK :: Format
- pattern FORMAT_EAC_R11_UNORM_BLOCK :: Format
- pattern FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK :: Format
- pattern FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK :: Format
- pattern FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK :: Format
- pattern FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK :: Format
- pattern FORMAT_ETC2_R8G8B8_SRGB_BLOCK :: Format
- pattern FORMAT_ETC2_R8G8B8_UNORM_BLOCK :: Format
- pattern FORMAT_BC7_SRGB_BLOCK :: Format
- pattern FORMAT_BC7_UNORM_BLOCK :: Format
- pattern FORMAT_BC6H_SFLOAT_BLOCK :: Format
- pattern FORMAT_BC6H_UFLOAT_BLOCK :: Format
- pattern FORMAT_BC5_SNORM_BLOCK :: Format
- pattern FORMAT_BC5_UNORM_BLOCK :: Format
- pattern FORMAT_BC4_SNORM_BLOCK :: Format
- pattern FORMAT_BC4_UNORM_BLOCK :: Format
- pattern FORMAT_BC3_SRGB_BLOCK :: Format
- pattern FORMAT_BC3_UNORM_BLOCK :: Format
- pattern FORMAT_BC2_SRGB_BLOCK :: Format
- pattern FORMAT_BC2_UNORM_BLOCK :: Format
- pattern FORMAT_BC1_RGBA_SRGB_BLOCK :: Format
- pattern FORMAT_BC1_RGBA_UNORM_BLOCK :: Format
- pattern FORMAT_BC1_RGB_SRGB_BLOCK :: Format
- pattern FORMAT_BC1_RGB_UNORM_BLOCK :: Format
- pattern FORMAT_B10G11R11_UFLOAT_PACK32 :: Format
- pattern FORMAT_R64G64B64A64_SFLOAT :: Format
- pattern FORMAT_R64G64B64A64_SINT :: Format
- pattern FORMAT_R64G64B64A64_UINT :: Format
- pattern FORMAT_R64G64B64_SFLOAT :: Format
- pattern FORMAT_R64G64B64_SINT :: Format
- pattern FORMAT_R64G64B64_UINT :: Format
- pattern FORMAT_R64G64_SFLOAT :: Format
- pattern FORMAT_R64G64_SINT :: Format
- pattern FORMAT_R64G64_UINT :: Format
- pattern FORMAT_R64_SFLOAT :: Format
- pattern FORMAT_R64_SINT :: Format
- pattern FORMAT_R64_UINT :: Format
- pattern FORMAT_R32G32B32A32_SFLOAT :: Format
- pattern FORMAT_R32G32B32A32_SINT :: Format
- pattern FORMAT_R32G32B32A32_UINT :: Format
- pattern FORMAT_R32G32B32_SINT :: Format
- pattern FORMAT_R32G32B32_UINT :: Format
- pattern FORMAT_R32G32_SINT :: Format
- pattern FORMAT_R32G32_UINT :: Format
- pattern FORMAT_R32_SFLOAT :: Format
- pattern FORMAT_R16G16B16A16_SINT :: Format
- pattern FORMAT_R16G16B16A16_UINT :: Format
- pattern FORMAT_R16G16B16A16_SSCALED :: Format
- pattern FORMAT_R16G16B16A16_USCALED :: Format
- pattern FORMAT_R16G16B16A16_SNORM :: Format
- pattern FORMAT_R16G16B16A16_UNORM :: Format
- pattern FORMAT_R16G16B16_SINT :: Format
- pattern FORMAT_R16G16B16_UINT :: Format
- pattern FORMAT_R16G16B16_SSCALED :: Format
- pattern FORMAT_R16G16B16_USCALED :: Format
- pattern FORMAT_R16G16B16_UNORM :: Format
- pattern FORMAT_R16G16_SINT :: Format
- pattern FORMAT_R16G16_UINT :: Format
- pattern FORMAT_R16G16_SSCALED :: Format
- pattern FORMAT_R16G16_USCALED :: Format
- pattern FORMAT_R16G16_UNORM :: Format
- pattern FORMAT_R16_SFLOAT :: Format
- pattern FORMAT_R16_SSCALED :: Format
- pattern FORMAT_R16_USCALED :: Format
- pattern FORMAT_R16_SNORM :: Format
- pattern FORMAT_R16_UNORM :: Format
- pattern FORMAT_A2B10G10R10_SINT_PACK32 :: Format
- pattern FORMAT_A2B10G10R10_UINT_PACK32 :: Format
- pattern FORMAT_A2B10G10R10_SSCALED_PACK32 :: Format
- pattern FORMAT_A2B10G10R10_USCALED_PACK32 :: Format
- pattern FORMAT_A2B10G10R10_SNORM_PACK32 :: Format
- pattern FORMAT_A2B10G10R10_UNORM_PACK32 :: Format
- pattern FORMAT_A2R10G10B10_SINT_PACK32 :: Format
- pattern FORMAT_A2R10G10B10_UINT_PACK32 :: Format
- pattern FORMAT_A2R10G10B10_SSCALED_PACK32 :: Format
- pattern FORMAT_A2R10G10B10_USCALED_PACK32 :: Format
- pattern FORMAT_A2R10G10B10_SNORM_PACK32 :: Format
- pattern FORMAT_A2R10G10B10_UNORM_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_SRGB_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_SINT_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_UINT_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_SSCALED_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_USCALED_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_SNORM_PACK32 :: Format
- pattern FORMAT_A8B8G8R8_UNORM_PACK32 :: Format
- pattern FORMAT_B8G8R8A8_SRGB :: Format
- pattern FORMAT_B8G8R8A8_SINT :: Format
- pattern FORMAT_B8G8R8A8_UINT :: Format
- pattern FORMAT_B8G8R8A8_SSCALED :: Format
- pattern FORMAT_B8G8R8A8_USCALED :: Format
- pattern FORMAT_B8G8R8A8_SNORM :: Format
- pattern FORMAT_B8G8R8A8_UNORM :: Format
- pattern FORMAT_R8G8B8A8_SRGB :: Format
- pattern FORMAT_R8G8B8A8_SINT :: Format
- pattern FORMAT_R8G8B8A8_UINT :: Format
- pattern FORMAT_R8G8B8A8_SSCALED :: Format
- pattern FORMAT_R8G8B8A8_USCALED :: Format
- pattern FORMAT_R8G8B8A8_SNORM :: Format
- pattern FORMAT_B8G8R8_SRGB :: Format
- pattern FORMAT_B8G8R8_SINT :: Format
- pattern FORMAT_B8G8R8_UINT :: Format
- pattern FORMAT_B8G8R8_SSCALED :: Format
- pattern FORMAT_B8G8R8_USCALED :: Format
- pattern FORMAT_B8G8R8_SNORM :: Format
- pattern FORMAT_B8G8R8_UNORM :: Format
- pattern FORMAT_R8G8B8_SRGB :: Format
- pattern FORMAT_R8G8B8_SINT :: Format
- pattern FORMAT_R8G8B8_UINT :: Format
- pattern FORMAT_R8G8B8_SSCALED :: Format
- pattern FORMAT_R8G8B8_USCALED :: Format
- pattern FORMAT_R8G8B8_SNORM :: Format
- pattern FORMAT_R8G8B8_UNORM :: Format
- pattern FORMAT_R8G8_SRGB :: Format
- pattern FORMAT_R8G8_SINT :: Format
- pattern FORMAT_R8G8_UINT :: Format
- pattern FORMAT_R8G8_SSCALED :: Format
- pattern FORMAT_R8G8_USCALED :: Format
- pattern FORMAT_R8G8_SNORM :: Format
- pattern FORMAT_R8_SRGB :: Format
- pattern FORMAT_R8_SSCALED :: Format
- pattern FORMAT_R8_USCALED :: Format
- pattern FORMAT_R8_SNORM :: Format
- pattern FORMAT_R8_UNORM :: Format
- pattern FORMAT_A1R5G5B5_UNORM_PACK16 :: Format
- pattern FORMAT_R5G5B5A1_UNORM_PACK16 :: Format
- pattern FORMAT_R5G6B5_UNORM_PACK16 :: Format
- pattern FORMAT_R4G4B4A4_UNORM_PACK16 :: Format
- pattern FORMAT_R4G4_UNORM_PACK8 :: Format
- data InstanceCreateInfo (es :: [Type])
- data DeviceCreateInfo (es :: [Type])
- data AllocationCallbacks
- type PFN_vkGetInstanceProcAddr = FunPtr (CString -> IO (FunPtr ()))
- data SomeStruct (a :: [Type] -> Type) where
- SomeStruct :: forall (a :: [Type] -> Type) (es :: [Type]). (Extendss a es, PokeChain es, Show (Chain es)) => a es -> SomeStruct a
Documentation
data Instance_T #
An opaque type for representing pointers to VkInstance handles
data PhysicalDevice_T #
An opaque type for representing pointers to VkPhysicalDevice handles
VkImage - Opaque handle to an image object
See Also
BindImageMemoryInfo
,
BlitImageInfo2KHR
,
CopyBufferToImageInfo2KHR
,
CopyImageInfo2KHR
,
CopyImageToBufferInfo2KHR
,
DedicatedAllocationMemoryAllocateInfoNV
,
ImageMemoryBarrier
,
ImageMemoryRequirementsInfo2
,
ImageSparseMemoryRequirementsInfo2
,
ImageViewCreateInfo
,
MemoryDedicatedAllocateInfo
,
ResolveImageInfo2KHR
,
SparseImageMemoryBindInfo
,
SparseImageOpaqueMemoryBindInfo
,
bindImageMemory
,
cmdBlitImage
,
cmdClearColorImage
,
cmdClearDepthStencilImage
,
cmdCopyBufferToImage
,
cmdCopyImage
,
cmdCopyImageToBuffer
,
cmdResolveImage
,
createImage
, destroyImage
,
getImageDrmFormatModifierPropertiesEXT
,
getImageMemoryRequirements
,
getImageSparseMemoryRequirements
,
getImageSubresourceLayout
,
getSwapchainImagesKHR
Instances
Eq Image | |
Ord Image | |
Show Image | |
Storable Image | |
IsHandle Image | |
Defined in Vulkan.Core10.Handles | |
HasObjectType Image | |
Defined in Vulkan.Core10.Handles objectTypeAndHandle :: Image -> (ObjectType, Word64) # | |
Zero Image | |
Defined in Vulkan.Core10.Handles |
VkResult - Vulkan command return codes
Description
If a command returns a runtime error, unless otherwise specified any
output parameters will have undefined contents, except that if the
output parameter is a structure with sType
and pNext
fields, those
fields will be unmodified. Any structures chained from pNext
will also
have undefined contents, except that sType
and pNext
will be
unmodified.
VK_ERROR_OUT_OF_*_MEMORY
errors do not modify any currently existing
Vulkan objects. Objects that have already been successfully created
can still be used by the application.
Note
As a general rule, Free
, Release
, and Reset
commands do not return
ERROR_OUT_OF_HOST_MEMORY
, while any other command with a return code
may return it. Any exceptions from this rule are described for those
commands.
ERROR_UNKNOWN
will be returned by an implementation when an unexpected
error occurs that cannot be attributed to valid behavior of the
application and implementation. Under these conditions, it may be
returned from any command returning a Result
.
Note
ERROR_UNKNOWN
is not expected to ever be returned if the application
behavior is valid, and if the implementation is bug-free. If
ERROR_UNKNOWN
is received, the application should be checked against
the latest validation layers to verify correct behavior as much as
possible. If no issues are identified it could be an implementation
issue, and the implementor should be contacted for support.
Performance-critical commands generally do not have return codes. If a
runtime error occurs in such commands, the implementation will defer
reporting the error until a specified point. For commands that record
into command buffers (vkCmd*
) runtime errors are reported by
endCommandBuffer
.
See Also
pattern PIPELINE_COMPILE_REQUIRED_EXT :: Result |
|
pattern ERROR_OUT_OF_HOST_MEMORY :: Result |
|
pattern ERROR_FORMAT_NOT_SUPPORTED :: Result |
|
pattern ERROR_DEVICE_LOST :: Result |
|
pattern ERROR_OUT_OF_POOL_MEMORY :: Result |
|
pattern ERROR_INVALID_EXTERNAL_HANDLE :: Result |
|
pattern ERROR_FRAGMENTATION :: Result |
|
pattern ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS :: Result |
|
pattern ERROR_SURFACE_LOST_KHR :: Result |
|
pattern ERROR_NATIVE_WINDOW_IN_USE_KHR :: Result |
|
pattern SUBOPTIMAL_KHR :: Result |
|
pattern ERROR_OUT_OF_DATE_KHR :: Result |
|
pattern ERROR_INCOMPATIBLE_DISPLAY_KHR :: Result |
|
pattern ERROR_VALIDATION_FAILED_EXT :: Result | |
pattern ERROR_INVALID_SHADER_NV :: Result |
|
pattern ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT :: Result | |
pattern ERROR_NOT_PERMITTED_EXT :: Result | |
pattern ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT :: Result |
|
pattern THREAD_IDLE_KHR :: Result |
|
pattern THREAD_DONE_KHR :: Result |
|
pattern OPERATION_DEFERRED_KHR :: Result |
|
pattern OPERATION_NOT_DEFERRED_KHR :: Result |
|
pattern ERROR_UNKNOWN :: Result |
|
pattern ERROR_FRAGMENTED_POOL :: Result |
|
pattern ERROR_TOO_MANY_OBJECTS :: Result |
|
pattern ERROR_INCOMPATIBLE_DRIVER :: Result |
|
pattern ERROR_FEATURE_NOT_PRESENT :: Result |
|
pattern ERROR_EXTENSION_NOT_PRESENT :: Result |
|
pattern ERROR_LAYER_NOT_PRESENT :: Result |
|
pattern ERROR_MEMORY_MAP_FAILED :: Result |
|
pattern ERROR_INITIALIZATION_FAILED :: Result |
|
pattern ERROR_OUT_OF_DEVICE_MEMORY :: Result |
|
pattern INCOMPLETE :: Result |
|
pattern EVENT_RESET :: Result |
|
pattern EVENT_SET :: Result |
|
pattern TIMEOUT :: Result |
|
pattern NOT_READY :: Result |
|
pattern SUCCESS :: Result |
|
Instances
Eq Result | |
Ord Result | |
Read Result | |
Show Result | |
Storable Result | |
Zero Result | |
Defined in Vulkan.Core10.Enums.Result |
VkFormat - Available image formats
See Also
AccelerationStructureGeometryTrianglesDataKHR
,
AndroidHardwareBufferFormatPropertiesANDROID
,
AttachmentDescription
,
AttachmentDescription2
,
BufferViewCreateInfo
,
FramebufferAttachmentImageInfo
,
GeometryTrianglesNV
,
ImageCreateInfo
,
ImageFormatListCreateInfo
,
ImageViewASTCDecodeModeEXT
,
ImageViewCreateInfo
,
PhysicalDeviceImageFormatInfo2
,
PhysicalDeviceSparseImageFormatInfo2
,
SamplerCustomBorderColorCreateInfoEXT
,
SamplerYcbcrConversionCreateInfo
,
SurfaceFormatKHR
,
SwapchainCreateInfoKHR
,
VertexInputAttributeDescription
,
getPhysicalDeviceExternalImageFormatPropertiesNV
,
getPhysicalDeviceFormatProperties
,
getPhysicalDeviceFormatProperties2
,
getPhysicalDeviceFormatProperties2KHR
,
getPhysicalDeviceImageFormatProperties
,
getPhysicalDeviceSparseImageFormatProperties
pattern FORMAT_R8G8B8A8_UNORM :: Format |
|
pattern FORMAT_R8_UINT :: Format |
|
pattern FORMAT_R8_SINT :: Format |
|
pattern FORMAT_R16_UINT :: Format |
|
pattern FORMAT_R16_SINT :: Format |
|
pattern FORMAT_R32_UINT :: Format |
|
pattern FORMAT_R32_SINT :: Format |
|
pattern FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT :: Format |
|
pattern FORMAT_A4R4G4B4_UNORM_PACK16_EXT :: Format |
|
pattern FORMAT_A4B4G4R4_UNORM_PACK16_EXT :: Format |
|
pattern FORMAT_R16G16B16A16_SFLOAT :: Format |
|
pattern FORMAT_E5B9G9R9_UFLOAT_PACK32 :: Format |
|
pattern FORMAT_UNDEFINED :: Format |
|
pattern FORMAT_R32G32B32_SFLOAT :: Format |
|
pattern FORMAT_R32G32_SFLOAT :: Format |
|
pattern FORMAT_R16G16B16_SFLOAT :: Format |
|
pattern FORMAT_R16G16_SFLOAT :: Format |
|
pattern FORMAT_R16G16_SNORM :: Format |
|
pattern FORMAT_R16G16B16_SNORM :: Format |
|
pattern FORMAT_G8_B8R8_2PLANE_420_UNORM :: Format |
|
pattern FORMAT_G8_B8_R8_3PLANE_420_UNORM :: Format |
|
pattern FORMAT_S8_UINT :: Format |
|
pattern FORMAT_D16_UNORM :: Format |
|
pattern FORMAT_D16_UNORM_S8_UINT :: Format |
|
pattern FORMAT_D32_SFLOAT :: Format |
|
pattern FORMAT_D32_SFLOAT_S8_UINT :: Format |
|
pattern FORMAT_X8_D24_UNORM_PACK32 :: Format |
|
pattern FORMAT_D24_UNORM_S8_UINT :: Format |
|
pattern FORMAT_R8G8_UNORM :: Format |
|
pattern FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 :: Format |
|
pattern FORMAT_B4G4R4A4_UNORM_PACK16 :: Format |
|
pattern FORMAT_B5G6R5_UNORM_PACK16 :: Format |
|
pattern FORMAT_B5G5R5A1_UNORM_PACK16 :: Format |
|
pattern FORMAT_G8B8G8R8_422_UNORM :: Format |
|
pattern FORMAT_B8G8R8G8_422_UNORM :: Format |
|
pattern FORMAT_G8_B8_R8_3PLANE_422_UNORM :: Format |
|
pattern FORMAT_G8_B8R8_2PLANE_422_UNORM :: Format |
|
pattern FORMAT_G8_B8_R8_3PLANE_444_UNORM :: Format |
|
pattern FORMAT_R10X6_UNORM_PACK16 :: Format |
|
pattern FORMAT_R10X6G10X6_UNORM_2PACK16 :: Format |
|
pattern FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 :: Format |
|
pattern FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 :: Format |
|
pattern FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 :: Format |
|
pattern FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 :: Format |
|
pattern FORMAT_R12X4_UNORM_PACK16 :: Format |
|
pattern FORMAT_R12X4G12X4_UNORM_2PACK16 :: Format |
|
pattern FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 :: Format |
|
pattern FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 :: Format |
|
pattern FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 :: Format |
|
pattern FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 :: Format |
|
pattern FORMAT_G16B16G16R16_422_UNORM :: Format |
|
pattern FORMAT_B16G16R16G16_422_UNORM :: Format |
|
pattern FORMAT_G16_B16_R16_3PLANE_420_UNORM :: Format |
|
pattern FORMAT_G16_B16R16_2PLANE_420_UNORM :: Format |
|
pattern FORMAT_G16_B16_R16_3PLANE_422_UNORM :: Format |
|
pattern FORMAT_G16_B16R16_2PLANE_422_UNORM :: Format |
|
pattern FORMAT_G16_B16_R16_3PLANE_444_UNORM :: Format |
|
pattern FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG :: Format |
|
pattern FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG :: Format |
|
pattern FORMAT_ASTC_12x12_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_12x12_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_12x10_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_12x10_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x10_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x10_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x8_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x8_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x6_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x6_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x5_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_10x5_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_8x8_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_8x8_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_8x6_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_8x6_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_8x5_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_8x5_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_6x6_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_6x6_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_6x5_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_6x5_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_5x5_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_5x5_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_5x4_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_5x4_UNORM_BLOCK :: Format |
|
pattern FORMAT_ASTC_4x4_SRGB_BLOCK :: Format |
|
pattern FORMAT_ASTC_4x4_UNORM_BLOCK :: Format |
|
pattern FORMAT_EAC_R11G11_SNORM_BLOCK :: Format |
|
pattern FORMAT_EAC_R11G11_UNORM_BLOCK :: Format |
|
pattern FORMAT_EAC_R11_SNORM_BLOCK :: Format |
|
pattern FORMAT_EAC_R11_UNORM_BLOCK :: Format |
|
pattern FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK :: Format |
|
pattern FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK :: Format |
|
pattern FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK :: Format |
|
pattern FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK :: Format |
|
pattern FORMAT_ETC2_R8G8B8_SRGB_BLOCK :: Format |
|
pattern FORMAT_ETC2_R8G8B8_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC7_SRGB_BLOCK :: Format |
|
pattern FORMAT_BC7_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC6H_SFLOAT_BLOCK :: Format |
|
pattern FORMAT_BC6H_UFLOAT_BLOCK :: Format |
|
pattern FORMAT_BC5_SNORM_BLOCK :: Format |
|
pattern FORMAT_BC5_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC4_SNORM_BLOCK :: Format |
|
pattern FORMAT_BC4_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC3_SRGB_BLOCK :: Format |
|
pattern FORMAT_BC3_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC2_SRGB_BLOCK :: Format |
|
pattern FORMAT_BC2_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC1_RGBA_SRGB_BLOCK :: Format |
|
pattern FORMAT_BC1_RGBA_UNORM_BLOCK :: Format |
|
pattern FORMAT_BC1_RGB_SRGB_BLOCK :: Format |
|
pattern FORMAT_BC1_RGB_UNORM_BLOCK :: Format |
|
pattern FORMAT_B10G11R11_UFLOAT_PACK32 :: Format |
|
pattern FORMAT_R64G64B64A64_SFLOAT :: Format |
|
pattern FORMAT_R64G64B64A64_SINT :: Format |
|
pattern FORMAT_R64G64B64A64_UINT :: Format |
|
pattern FORMAT_R64G64B64_SFLOAT :: Format |
|
pattern FORMAT_R64G64B64_SINT :: Format |
|
pattern FORMAT_R64G64B64_UINT :: Format |
|
pattern FORMAT_R64G64_SFLOAT :: Format |
|
pattern FORMAT_R64G64_SINT :: Format |
|
pattern FORMAT_R64G64_UINT :: Format |
|
pattern FORMAT_R64_SFLOAT :: Format |
|
pattern FORMAT_R64_SINT :: Format |
|
pattern FORMAT_R64_UINT :: Format |
|
pattern FORMAT_R32G32B32A32_SFLOAT :: Format |
|
pattern FORMAT_R32G32B32A32_SINT :: Format |
|
pattern FORMAT_R32G32B32A32_UINT :: Format |
|
pattern FORMAT_R32G32B32_SINT :: Format |
|
pattern FORMAT_R32G32B32_UINT :: Format |
|
pattern FORMAT_R32G32_SINT :: Format |
|
pattern FORMAT_R32G32_UINT :: Format |
|
pattern FORMAT_R32_SFLOAT :: Format |
|
pattern FORMAT_R16G16B16A16_SINT :: Format |
|
pattern FORMAT_R16G16B16A16_UINT :: Format |
|
pattern FORMAT_R16G16B16A16_SSCALED :: Format |
|
pattern FORMAT_R16G16B16A16_USCALED :: Format |
|
pattern FORMAT_R16G16B16A16_SNORM :: Format |
|
pattern FORMAT_R16G16B16A16_UNORM :: Format |
|
pattern FORMAT_R16G16B16_SINT :: Format |
|
pattern FORMAT_R16G16B16_UINT :: Format |
|
pattern FORMAT_R16G16B16_SSCALED :: Format |
|
pattern FORMAT_R16G16B16_USCALED :: Format |
|
pattern FORMAT_R16G16B16_UNORM :: Format |
|
pattern FORMAT_R16G16_SINT :: Format |
|
pattern FORMAT_R16G16_UINT :: Format |
|
pattern FORMAT_R16G16_SSCALED :: Format |
|
pattern FORMAT_R16G16_USCALED :: Format |
|
pattern FORMAT_R16G16_UNORM :: Format |
|
pattern FORMAT_R16_SFLOAT :: Format |
|
pattern FORMAT_R16_SSCALED :: Format |
|
pattern FORMAT_R16_USCALED :: Format |
|
pattern FORMAT_R16_SNORM :: Format |
|
pattern FORMAT_R16_UNORM :: Format |
|
pattern FORMAT_A2B10G10R10_SINT_PACK32 :: Format |
|
pattern FORMAT_A2B10G10R10_UINT_PACK32 :: Format |
|
pattern FORMAT_A2B10G10R10_SSCALED_PACK32 :: Format |
|
pattern FORMAT_A2B10G10R10_USCALED_PACK32 :: Format |
|
pattern FORMAT_A2B10G10R10_SNORM_PACK32 :: Format |
|
pattern FORMAT_A2B10G10R10_UNORM_PACK32 :: Format |
|
pattern FORMAT_A2R10G10B10_SINT_PACK32 :: Format |
|
pattern FORMAT_A2R10G10B10_UINT_PACK32 :: Format |
|
pattern FORMAT_A2R10G10B10_SSCALED_PACK32 :: Format |
|
pattern FORMAT_A2R10G10B10_USCALED_PACK32 :: Format |
|
pattern FORMAT_A2R10G10B10_SNORM_PACK32 :: Format |
|
pattern FORMAT_A2R10G10B10_UNORM_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_SRGB_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_SINT_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_UINT_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_SSCALED_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_USCALED_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_SNORM_PACK32 :: Format |
|
pattern FORMAT_A8B8G8R8_UNORM_PACK32 :: Format |
|
pattern FORMAT_B8G8R8A8_SRGB :: Format |
|
pattern FORMAT_B8G8R8A8_SINT :: Format |
|
pattern FORMAT_B8G8R8A8_UINT :: Format |
|
pattern FORMAT_B8G8R8A8_SSCALED :: Format |
|
pattern FORMAT_B8G8R8A8_USCALED :: Format |
|
pattern FORMAT_B8G8R8A8_SNORM :: Format |
|
pattern FORMAT_B8G8R8A8_UNORM :: Format |
|
pattern FORMAT_R8G8B8A8_SRGB :: Format |
|
pattern FORMAT_R8G8B8A8_SINT :: Format |
|
pattern FORMAT_R8G8B8A8_UINT :: Format |
|
pattern FORMAT_R8G8B8A8_SSCALED :: Format |
|
pattern FORMAT_R8G8B8A8_USCALED :: Format |
|
pattern FORMAT_R8G8B8A8_SNORM :: Format |
|
pattern FORMAT_B8G8R8_SRGB :: Format |
|
pattern FORMAT_B8G8R8_SINT :: Format |
|
pattern FORMAT_B8G8R8_UINT :: Format |
|
pattern FORMAT_B8G8R8_SSCALED :: Format |
|
pattern FORMAT_B8G8R8_USCALED :: Format |
|
pattern FORMAT_B8G8R8_SNORM :: Format |
|
pattern FORMAT_B8G8R8_UNORM :: Format |
|
pattern FORMAT_R8G8B8_SRGB :: Format |
|
pattern FORMAT_R8G8B8_SINT :: Format |
|
pattern FORMAT_R8G8B8_UINT :: Format |
|
pattern FORMAT_R8G8B8_SSCALED :: Format |
|
pattern FORMAT_R8G8B8_USCALED :: Format |
|
pattern FORMAT_R8G8B8_SNORM :: Format |
|
pattern FORMAT_R8G8B8_UNORM :: Format |
|
pattern FORMAT_R8G8_SRGB :: Format |
|
pattern FORMAT_R8G8_SINT :: Format |
|
pattern FORMAT_R8G8_UINT :: Format |
|
pattern FORMAT_R8G8_SSCALED :: Format |
|
pattern FORMAT_R8G8_USCALED :: Format |
|
pattern FORMAT_R8G8_SNORM :: Format |
|
pattern FORMAT_R8_SRGB :: Format |
|
pattern FORMAT_R8_SSCALED :: Format |
|
pattern FORMAT_R8_USCALED :: Format |
|
pattern FORMAT_R8_SNORM :: Format |
|
pattern FORMAT_R8_UNORM :: Format |
|
pattern FORMAT_A1R5G5B5_UNORM_PACK16 :: Format |
|
pattern FORMAT_R5G5B5A1_UNORM_PACK16 :: Format |
|
pattern FORMAT_R5G6B5_UNORM_PACK16 :: Format |
|
pattern FORMAT_R4G4B4A4_UNORM_PACK16 :: Format |
|
pattern FORMAT_R4G4_UNORM_PACK8 :: Format |
|
Instances
Eq Format | |
Ord Format | |
Read Format | |
Show Format | |
Storable Format | |
Zero Format | |
Defined in Vulkan.Core10.Enums.Format |
data InstanceCreateInfo (es :: [Type]) #
VkInstanceCreateInfo - Structure specifying parameters of a newly created instance
Valid Usage (Implicit)
-
sType
must beSTRUCTURE_TYPE_INSTANCE_CREATE_INFO
- Each
pNext
member of any structure (including this one) in thepNext
chain must be eitherNULL
or a pointer to a valid instance ofDebugReportCallbackCreateInfoEXT
,DebugUtilsMessengerCreateInfoEXT
,ValidationFeaturesEXT
, orValidationFlagsEXT
- The
sType
value of each struct in thepNext
chain must be unique, with the exception of structures of typeDebugUtilsMessengerCreateInfoEXT
-
flags
must be0
- If
pApplicationInfo
is notNULL
,pApplicationInfo
must be a valid pointer to a validApplicationInfo
structure - If
enabledLayerCount
is not0
,ppEnabledLayerNames
must be a valid pointer to an array ofenabledLayerCount
null-terminated UTF-8 strings - If
enabledExtensionCount
is not0
,ppEnabledExtensionNames
must be a valid pointer to an array ofenabledExtensionCount
null-terminated UTF-8 strings
See Also
ApplicationInfo
,
InstanceCreateFlags
,
StructureType
, createInstance
Instances
data DeviceCreateInfo (es :: [Type]) #
VkDeviceCreateInfo - Structure specifying parameters of a newly created device
Valid Usage
- The
queueFamilyIndex
member of each element ofpQueueCreateInfos
must be unique withinpQueueCreateInfos
, except that two members can share the samequeueFamilyIndex
if one is a protected-capable queue and one is not a protected-capable queue
- If the
pNext
chain includes aPhysicalDeviceFeatures2
structure, thenpEnabledFeatures
must beNULL
-
ppEnabledExtensionNames
must not containVK_AMD_negative_viewport_height
-
ppEnabledExtensionNames
must not contain bothVK_KHR_buffer_device_address
andVK_EXT_buffer_device_address
- If the
pNext
chain includes aPhysicalDeviceVulkan11Features
structure, then it must not include aPhysicalDevice16BitStorageFeatures
,PhysicalDeviceMultiviewFeatures
,PhysicalDeviceVariablePointersFeatures
,PhysicalDeviceProtectedMemoryFeatures
,PhysicalDeviceSamplerYcbcrConversionFeatures
, orPhysicalDeviceShaderDrawParametersFeatures
structure - If the
pNext
chain includes aPhysicalDeviceVulkan12Features
structure, then it must not include aPhysicalDevice8BitStorageFeatures
,PhysicalDeviceShaderAtomicInt64Features
,PhysicalDeviceShaderFloat16Int8Features
,PhysicalDeviceDescriptorIndexingFeatures
,PhysicalDeviceScalarBlockLayoutFeatures
,PhysicalDeviceImagelessFramebufferFeatures
,PhysicalDeviceUniformBufferStandardLayoutFeatures
,PhysicalDeviceShaderSubgroupExtendedTypesFeatures
,PhysicalDeviceSeparateDepthStencilLayoutsFeatures
,PhysicalDeviceHostQueryResetFeatures
,PhysicalDeviceTimelineSemaphoreFeatures
,PhysicalDeviceBufferDeviceAddressFeatures
, orPhysicalDeviceVulkanMemoryModelFeatures
structure - If
ppEnabledExtensions
contains"VK_KHR_shader_draw_parameters"
and thepNext
chain includes aPhysicalDeviceVulkan11Features
structure, thenPhysicalDeviceVulkan11Features
::shaderDrawParameters
must beTRUE
- If
ppEnabledExtensions
contains"VK_KHR_draw_indirect_count"
and thepNext
chain includes aPhysicalDeviceVulkan12Features
structure, thenPhysicalDeviceVulkan12Features
::drawIndirectCount
must beTRUE
- If
ppEnabledExtensions
contains"VK_KHR_sampler_mirror_clamp_to_edge"
and thepNext
chain includes aPhysicalDeviceVulkan12Features
structure, thenPhysicalDeviceVulkan12Features
::samplerMirrorClampToEdge
must beTRUE
- If
ppEnabledExtensions
contains"VK_EXT_descriptor_indexing"
and thepNext
chain includes aPhysicalDeviceVulkan12Features
structure, thenPhysicalDeviceVulkan12Features
::descriptorIndexing
must beTRUE
- If
ppEnabledExtensions
contains"VK_EXT_sampler_filter_minmax"
and thepNext
chain includes aPhysicalDeviceVulkan12Features
structure, thenPhysicalDeviceVulkan12Features
::samplerFilterMinmax
must beTRUE
- If
ppEnabledExtensions
contains"VK_EXT_shader_viewport_index_layer"
and thepNext
chain includes aPhysicalDeviceVulkan12Features
structure, thenPhysicalDeviceVulkan12Features
::shaderOutputViewportIndex
andPhysicalDeviceVulkan12Features
::shaderOutputLayer
must both beTRUE
- If the
VK_KHR_portability_subset
extension is included inpProperties
ofenumerateDeviceExtensionProperties
,ppEnabledExtensions
must include "VK_KHR_portability_subset". - If shadingRateImage is enabled, pipelineFragmentShadingRate must not be enabled
- If shadingRateImage is enabled, primitiveFragmentShadingRate must not be enabled
- If shadingRateImage is enabled, attachmentFragmentShadingRate must not be enabled
- If fragmentDensityMap is enabled, pipelineFragmentShadingRate must not be enabled
- If fragmentDensityMap is enabled, primitiveFragmentShadingRate must not be enabled
- If fragmentDensityMap is enabled, attachmentFragmentShadingRate must not be enabled
Valid Usage (Implicit)
-
sType
must beSTRUCTURE_TYPE_DEVICE_CREATE_INFO
- Each
pNext
member of any structure (including this one) in thepNext
chain must be eitherNULL
or a pointer to a valid instance ofDeviceDeviceMemoryReportCreateInfoEXT
,DeviceDiagnosticsConfigCreateInfoNV
,DeviceGroupDeviceCreateInfo
,DeviceMemoryOverallocationCreateInfoAMD
,DevicePrivateDataCreateInfoEXT
,PhysicalDevice16BitStorageFeatures
,PhysicalDevice4444FormatsFeaturesEXT
,PhysicalDevice8BitStorageFeatures
,PhysicalDeviceASTCDecodeFeaturesEXT
,PhysicalDeviceAccelerationStructureFeaturesKHR
,PhysicalDeviceBlendOperationAdvancedFeaturesEXT
,PhysicalDeviceBufferDeviceAddressFeatures
,PhysicalDeviceBufferDeviceAddressFeaturesEXT
,PhysicalDeviceCoherentMemoryFeaturesAMD
,PhysicalDeviceComputeShaderDerivativesFeaturesNV
,PhysicalDeviceConditionalRenderingFeaturesEXT
,PhysicalDeviceCooperativeMatrixFeaturesNV
,PhysicalDeviceCornerSampledImageFeaturesNV
,PhysicalDeviceCoverageReductionModeFeaturesNV
,PhysicalDeviceCustomBorderColorFeaturesEXT
,PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
,PhysicalDeviceDepthClipEnableFeaturesEXT
,PhysicalDeviceDescriptorIndexingFeatures
,PhysicalDeviceDeviceGeneratedCommandsFeaturesNV
,PhysicalDeviceDeviceMemoryReportFeaturesEXT
,PhysicalDeviceDiagnosticsConfigFeaturesNV
,PhysicalDeviceExclusiveScissorFeaturesNV
,PhysicalDeviceExtendedDynamicStateFeaturesEXT
,PhysicalDeviceFeatures2
,PhysicalDeviceFragmentDensityMap2FeaturesEXT
,PhysicalDeviceFragmentDensityMapFeaturesEXT
,PhysicalDeviceFragmentShaderBarycentricFeaturesNV
,PhysicalDeviceFragmentShaderInterlockFeaturesEXT
,PhysicalDeviceFragmentShadingRateEnumsFeaturesNV
,PhysicalDeviceFragmentShadingRateFeaturesKHR
,PhysicalDeviceHostQueryResetFeatures
,PhysicalDeviceImageRobustnessFeaturesEXT
,PhysicalDeviceImagelessFramebufferFeatures
,PhysicalDeviceIndexTypeUint8FeaturesEXT
,PhysicalDeviceInlineUniformBlockFeaturesEXT
,PhysicalDeviceLineRasterizationFeaturesEXT
,PhysicalDeviceMemoryPriorityFeaturesEXT
,PhysicalDeviceMeshShaderFeaturesNV
,PhysicalDeviceMultiviewFeatures
,PhysicalDeviceMutableDescriptorTypeFeaturesVALVE
,PhysicalDevicePerformanceQueryFeaturesKHR
,PhysicalDevicePipelineCreationCacheControlFeaturesEXT
,PhysicalDevicePipelineExecutablePropertiesFeaturesKHR
,PhysicalDevicePortabilitySubsetFeaturesKHR
,PhysicalDevicePrivateDataFeaturesEXT
,PhysicalDeviceProtectedMemoryFeatures
,PhysicalDeviceRayQueryFeaturesKHR
,PhysicalDeviceRayTracingPipelineFeaturesKHR
,PhysicalDeviceRepresentativeFragmentTestFeaturesNV
,PhysicalDeviceRobustness2FeaturesEXT
,PhysicalDeviceSamplerYcbcrConversionFeatures
,PhysicalDeviceScalarBlockLayoutFeatures
,PhysicalDeviceSeparateDepthStencilLayoutsFeatures
,PhysicalDeviceShaderAtomicFloatFeaturesEXT
,PhysicalDeviceShaderAtomicInt64Features
,PhysicalDeviceShaderClockFeaturesKHR
,PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
,PhysicalDeviceShaderDrawParametersFeatures
,PhysicalDeviceShaderFloat16Int8Features
,PhysicalDeviceShaderImageAtomicInt64FeaturesEXT
,PhysicalDeviceShaderImageFootprintFeaturesNV
,PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL
,PhysicalDeviceShaderSMBuiltinsFeaturesNV
,PhysicalDeviceShaderSubgroupExtendedTypesFeatures
,PhysicalDeviceShaderTerminateInvocationFeaturesKHR
,PhysicalDeviceShadingRateImageFeaturesNV
,PhysicalDeviceSubgroupSizeControlFeaturesEXT
,PhysicalDeviceTexelBufferAlignmentFeaturesEXT
,PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT
,PhysicalDeviceTimelineSemaphoreFeatures
,PhysicalDeviceTransformFeedbackFeaturesEXT
,PhysicalDeviceUniformBufferStandardLayoutFeatures
,PhysicalDeviceVariablePointersFeatures
,PhysicalDeviceVertexAttributeDivisorFeaturesEXT
,PhysicalDeviceVulkan11Features
,PhysicalDeviceVulkan12Features
,PhysicalDeviceVulkanMemoryModelFeatures
, orPhysicalDeviceYcbcrImageArraysFeaturesEXT
- The
sType
value of each struct in thepNext
chain must be unique, with the exception of structures of typeDeviceDeviceMemoryReportCreateInfoEXT
orDevicePrivateDataCreateInfoEXT
-
flags
must be0
-
pQueueCreateInfos
must be a valid pointer to an array ofqueueCreateInfoCount
validDeviceQueueCreateInfo
structures - If
enabledLayerCount
is not0
,ppEnabledLayerNames
must be a valid pointer to an array ofenabledLayerCount
null-terminated UTF-8 strings - If
enabledExtensionCount
is not0
,ppEnabledExtensionNames
must be a valid pointer to an array ofenabledExtensionCount
null-terminated UTF-8 strings - If
pEnabledFeatures
is notNULL
,pEnabledFeatures
must be a valid pointer to a validPhysicalDeviceFeatures
structure -
queueCreateInfoCount
must be greater than0
See Also
DeviceCreateFlags
,
DeviceQueueCreateInfo
,
PhysicalDeviceFeatures
,
StructureType
, createDevice
Instances
data AllocationCallbacks #
VkAllocationCallbacks - Structure containing callback function pointers for memory allocation
Valid Usage
-
pfnAllocation
must be a valid pointer to a valid user-definedPFN_vkAllocationFunction
-
pfnReallocation
must be a valid pointer to a valid user-definedPFN_vkReallocationFunction
-
pfnFree
must be a valid pointer to a valid user-definedPFN_vkFreeFunction
- If either
of
pfnInternalAllocation
orpfnInternalFree
is notNULL
, both must be valid callbacks
See Also
PFN_vkAllocationFunction
,
PFN_vkFreeFunction
,
PFN_vkInternalAllocationNotification
,
PFN_vkInternalFreeNotification
,
PFN_vkReallocationFunction
,
allocateMemory
,
createAccelerationStructureKHR
,
createAccelerationStructureNV
,
createAndroidSurfaceKHR
,
createBuffer
,
createBufferView
,
createCommandPool
,
createComputePipelines
,
createDebugReportCallbackEXT
,
createDebugUtilsMessengerEXT
,
createDeferredOperationKHR
,
createDescriptorPool
,
createDescriptorSetLayout
,
createDescriptorUpdateTemplate
,
createDescriptorUpdateTemplateKHR
,
createDevice
,
createDirectFBSurfaceEXT
,
createDisplayModeKHR
,
createDisplayPlaneSurfaceKHR
,
createEvent
, createFence
,
createFramebuffer
,
createGraphicsPipelines
,
createHeadlessSurfaceEXT
,
createIOSSurfaceMVK
,
createImage
,
createImagePipeSurfaceFUCHSIA
,
createImageView
,
createIndirectCommandsLayoutNV
,
createInstance
,
createMacOSSurfaceMVK
,
createMetalSurfaceEXT
,
createPipelineCache
,
createPipelineLayout
,
createPrivateDataSlotEXT
,
createQueryPool
,
createRayTracingPipelinesKHR
,
createRayTracingPipelinesNV
,
createRenderPass
,
createRenderPass2
,
createRenderPass2KHR
,
createSampler
,
createSamplerYcbcrConversion
,
createSamplerYcbcrConversionKHR
,
createSemaphore
,
createShaderModule
,
createSharedSwapchainsKHR
,
createStreamDescriptorSurfaceGGP
,
createSwapchainKHR
,
createValidationCacheEXT
,
createViSurfaceNN
,
createWaylandSurfaceKHR
,
createWin32SurfaceKHR
,
createXcbSurfaceKHR
,
createXlibSurfaceKHR
,
destroyAccelerationStructureKHR
,
destroyAccelerationStructureNV
,
destroyBuffer
,
destroyBufferView
,
destroyCommandPool
,
destroyDebugReportCallbackEXT
,
destroyDebugUtilsMessengerEXT
,
destroyDeferredOperationKHR
,
destroyDescriptorPool
,
destroyDescriptorSetLayout
,
destroyDescriptorUpdateTemplate
,
destroyDescriptorUpdateTemplateKHR
,
destroyDevice
,
destroyEvent
, destroyFence
,
destroyFramebuffer
,
destroyImage
,
destroyImageView
,
destroyIndirectCommandsLayoutNV
,
destroyInstance
,
destroyPipeline
,
destroyPipelineCache
,
destroyPipelineLayout
,
destroyPrivateDataSlotEXT
,
destroyQueryPool
,
destroyRenderPass
,
destroySampler
,
destroySamplerYcbcrConversion
,
destroySamplerYcbcrConversionKHR
,
destroySemaphore
,
destroyShaderModule
,
destroySurfaceKHR
,
destroySwapchainKHR
,
destroyValidationCacheEXT
,
freeMemory
,
registerDeviceEventEXT
,
registerDisplayEventEXT
Instances
data SomeStruct (a :: [Type] -> Type) where #
SomeStruct :: forall (a :: [Type] -> Type) (es :: [Type]). (Extendss a es, PokeChain es, Show (Chain es)) => a es -> SomeStruct a |
Instances
(forall (es :: [Type]). Show (Chain es) => Show (a es)) => Show (SomeStruct a) | |
Defined in Vulkan.CStruct.Extends showsPrec :: Int -> SomeStruct a -> ShowS # show :: SomeStruct a -> String # showList :: [SomeStruct a] -> ShowS # | |
Zero (a ('[] :: [Type])) => Zero (SomeStruct a) | The constraint is so on this instance to encourage type inference |
Defined in Vulkan.CStruct.Extends zero :: SomeStruct a # |