Safe Haskell | None |
---|---|
Language | Haskell2010 |
- VkPhysicalDeviceType
- vkGetPhysicalDeviceImageFormatProperties
- vkEnumeratePhysicalDevices
- vkGetDeviceProcAddr
- vkCreateInstance
- VkFormatFeatureFlags
- VkMemoryHeapFlags
- vkGetPhysicalDeviceFeatures
- vkGetPhysicalDeviceMemoryProperties
- vkGetPhysicalDeviceQueueFamilyProperties
- vkGetInstanceProcAddr
- VkMemoryPropertyFlags
- vkDestroyInstance
- VkQueueFlags
- vkGetPhysicalDeviceProperties
- VkInstanceCreateFlags
- vkGetPhysicalDeviceFormatProperties
- newtype VkPhysicalDeviceType = VkPhysicalDeviceType Int32
- pattern VK_PHYSICAL_DEVICE_TYPE_OTHER :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_CPU :: VkPhysicalDeviceType
- data VkInstanceCreateInfo = VkInstanceCreateInfo {}
- vkGetPhysicalDeviceImageFormatProperties :: VkPhysicalDevice -> VkFormat -> VkImageType -> VkImageTiling -> VkImageUsageFlags -> VkImageCreateFlags -> Ptr VkImageFormatProperties -> IO VkResult
- type PFN_vkVoidFunction = FunPtr (IO ())
- data VkApplicationInfo = VkApplicationInfo {}
- data VkPhysicalDeviceLimits = VkPhysicalDeviceLimits {
- vkMaxImageDimension :: Word32
- vkMaxImageDimension :: Word32
- vkMaxImageDimension :: Word32
- vkMaxImageDimensionCube :: Word32
- vkMaxImageArrayLayers :: Word32
- vkMaxTexelBufferElements :: Word32
- vkMaxUniformBufferRange :: Word32
- vkMaxStorageBufferRange :: Word32
- vkMaxPushConstantsSize :: Word32
- vkMaxMemoryAllocationCount :: Word32
- vkMaxSamplerAllocationCount :: Word32
- vkBufferImageGranularity :: VkDeviceSize
- vkSparseAddressSpaceSize :: VkDeviceSize
- vkMaxBoundDescriptorSets :: Word32
- vkMaxPerStageDescriptorSamplers :: Word32
- vkMaxPerStageDescriptorUniformBuffers :: Word32
- vkMaxPerStageDescriptorStorageBuffers :: Word32
- vkMaxPerStageDescriptorSampledImages :: Word32
- vkMaxPerStageDescriptorStorageImages :: Word32
- vkMaxPerStageDescriptorInputAttachments :: Word32
- vkMaxPerStageResources :: Word32
- vkMaxDescriptorSetSamplers :: Word32
- vkMaxDescriptorSetUniformBuffers :: Word32
- vkMaxDescriptorSetUniformBuffersDynamic :: Word32
- vkMaxDescriptorSetStorageBuffers :: Word32
- vkMaxDescriptorSetStorageBuffersDynamic :: Word32
- vkMaxDescriptorSetSampledImages :: Word32
- vkMaxDescriptorSetStorageImages :: Word32
- vkMaxDescriptorSetInputAttachments :: Word32
- vkMaxVertexInputAttributes :: Word32
- vkMaxVertexInputBindings :: Word32
- vkMaxVertexInputAttributeOffset :: Word32
- vkMaxVertexInputBindingStride :: Word32
- vkMaxVertexOutputComponents :: Word32
- vkMaxTessellationGenerationLevel :: Word32
- vkMaxTessellationPatchSize :: Word32
- vkMaxTessellationControlPerVertexInputComponents :: Word32
- vkMaxTessellationControlPerVertexOutputComponents :: Word32
- vkMaxTessellationControlPerPatchOutputComponents :: Word32
- vkMaxTessellationControlTotalOutputComponents :: Word32
- vkMaxTessellationEvaluationInputComponents :: Word32
- vkMaxTessellationEvaluationOutputComponents :: Word32
- vkMaxGeometryShaderInvocations :: Word32
- vkMaxGeometryInputComponents :: Word32
- vkMaxGeometryOutputComponents :: Word32
- vkMaxGeometryOutputVertices :: Word32
- vkMaxGeometryTotalOutputComponents :: Word32
- vkMaxFragmentInputComponents :: Word32
- vkMaxFragmentOutputAttachments :: Word32
- vkMaxFragmentDualSrcAttachments :: Word32
- vkMaxFragmentCombinedOutputResources :: Word32
- vkMaxComputeSharedMemorySize :: Word32
- vkMaxComputeWorkGroupCount :: Vector 3 Word32
- vkMaxComputeWorkGroupInvocations :: Word32
- vkMaxComputeWorkGroupSize :: Vector 3 Word32
- vkSubPixelPrecisionBits :: Word32
- vkSubTexelPrecisionBits :: Word32
- vkMipmapPrecisionBits :: Word32
- vkMaxDrawIndexedIndexValue :: Word32
- vkMaxDrawIndirectCount :: Word32
- vkMaxSamplerLodBias :: CFloat
- vkMaxSamplerAnisotropy :: CFloat
- vkMaxViewports :: Word32
- vkMaxViewportDimensions :: Vector 2 Word32
- vkViewportBoundsRange :: Vector 2 CFloat
- vkViewportSubPixelBits :: Word32
- vkMinMemoryMapAlignment :: CSize
- vkMinTexelBufferOffsetAlignment :: VkDeviceSize
- vkMinUniformBufferOffsetAlignment :: VkDeviceSize
- vkMinStorageBufferOffsetAlignment :: VkDeviceSize
- vkMinTexelOffset :: Int32
- vkMaxTexelOffset :: Word32
- vkMinTexelGatherOffset :: Int32
- vkMaxTexelGatherOffset :: Word32
- vkMinInterpolationOffset :: CFloat
- vkMaxInterpolationOffset :: CFloat
- vkSubPixelInterpolationOffsetBits :: Word32
- vkMaxFramebufferWidth :: Word32
- vkMaxFramebufferHeight :: Word32
- vkMaxFramebufferLayers :: Word32
- vkFramebufferColorSampleCounts :: VkSampleCountFlags
- vkFramebufferDepthSampleCounts :: VkSampleCountFlags
- vkFramebufferStencilSampleCounts :: VkSampleCountFlags
- vkFramebufferNoAttachmentsSampleCounts :: VkSampleCountFlags
- vkMaxColorAttachments :: Word32
- vkSampledImageColorSampleCounts :: VkSampleCountFlags
- vkSampledImageIntegerSampleCounts :: VkSampleCountFlags
- vkSampledImageDepthSampleCounts :: VkSampleCountFlags
- vkSampledImageStencilSampleCounts :: VkSampleCountFlags
- vkStorageImageSampleCounts :: VkSampleCountFlags
- vkMaxSampleMaskWords :: Word32
- vkTimestampComputeAndGraphics :: VkBool32
- vkTimestampPeriod :: CFloat
- vkMaxClipDistances :: Word32
- vkMaxCullDistances :: Word32
- vkMaxCombinedClipAndCullDistances :: Word32
- vkDiscreteQueuePriorities :: Word32
- vkPointSizeRange :: Vector 2 CFloat
- vkLineWidthRange :: Vector 2 CFloat
- vkPointSizeGranularity :: CFloat
- vkLineWidthGranularity :: CFloat
- vkStrictLines :: VkBool32
- vkStandardSampleLocations :: VkBool32
- vkOptimalBufferCopyOffsetAlignment :: VkDeviceSize
- vkOptimalBufferCopyRowPitchAlignment :: VkDeviceSize
- vkNonCoherentAtomSize :: VkDeviceSize
- data VkMemoryHeap = VkMemoryHeap {}
- vkEnumeratePhysicalDevices :: VkInstance -> Ptr Word32 -> Ptr VkPhysicalDevice -> IO VkResult
- vkGetDeviceProcAddr :: VkDevice -> Ptr CChar -> IO PFN_vkVoidFunction
- vkCreateInstance :: Ptr VkInstanceCreateInfo -> Ptr VkAllocationCallbacks -> Ptr VkInstance -> IO VkResult
- newtype VkFormatFeatureFlagBits = VkFormatFeatureFlagBits VkFlags
- type VkFormatFeatureFlags = VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_BLIT_SRC_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_BLIT_DST_BIT :: VkFormatFeatureFlagBits
- pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT :: VkFormatFeatureFlagBits
- data VkPhysicalDeviceMemoryProperties = VkPhysicalDeviceMemoryProperties {}
- data VkInstance_T
- type VkInstance = Ptr VkInstance_T
- newtype VkMemoryHeapFlagBits = VkMemoryHeapFlagBits VkFlags
- type VkMemoryHeapFlags = VkMemoryHeapFlagBits
- pattern VK_MEMORY_HEAP_DEVICE_LOCAL_BIT :: VkMemoryHeapFlagBits
- data VkQueueFamilyProperties = VkQueueFamilyProperties {}
- data VkImageFormatProperties = VkImageFormatProperties {}
- data VkPhysicalDeviceSparseProperties = VkPhysicalDeviceSparseProperties {}
- vkGetPhysicalDeviceFeatures :: VkPhysicalDevice -> Ptr VkPhysicalDeviceFeatures -> IO ()
- vkGetPhysicalDeviceMemoryProperties :: VkPhysicalDevice -> Ptr VkPhysicalDeviceMemoryProperties -> IO ()
- data VkPhysicalDeviceProperties = VkPhysicalDeviceProperties {
- vkApiVersion :: Word32
- vkDriverVersion :: Word32
- vkVendorID :: Word32
- vkDeviceID :: Word32
- vkDeviceType :: VkPhysicalDeviceType
- vkDeviceName :: Vector VK_MAX_PHYSICAL_DEVICE_NAME_SIZE CChar
- vkPipelineCacheUUID :: Vector VK_UUID_SIZE Word8
- vkLimits :: VkPhysicalDeviceLimits
- vkSparseProperties :: VkPhysicalDeviceSparseProperties
- vkGetPhysicalDeviceQueueFamilyProperties :: VkPhysicalDevice -> Ptr Word32 -> Ptr VkQueueFamilyProperties -> IO ()
- data VkMemoryType = VkMemoryType {}
- vkGetInstanceProcAddr :: VkInstance -> Ptr CChar -> IO PFN_vkVoidFunction
- newtype VkMemoryPropertyFlagBits = VkMemoryPropertyFlagBits VkFlags
- type VkMemoryPropertyFlags = VkMemoryPropertyFlagBits
- pattern VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT :: VkMemoryPropertyFlagBits
- pattern VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT :: VkMemoryPropertyFlagBits
- pattern VK_MEMORY_PROPERTY_HOST_COHERENT_BIT :: VkMemoryPropertyFlagBits
- pattern VK_MEMORY_PROPERTY_HOST_CACHED_BIT :: VkMemoryPropertyFlagBits
- pattern VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT :: VkMemoryPropertyFlagBits
- vkDestroyInstance :: VkInstance -> Ptr VkAllocationCallbacks -> IO ()
- newtype VkQueueFlagBits = VkQueueFlagBits VkFlags
- type VkQueueFlags = VkQueueFlagBits
- pattern VK_QUEUE_GRAPHICS_BIT :: VkQueueFlagBits
- pattern VK_QUEUE_COMPUTE_BIT :: VkQueueFlagBits
- pattern VK_QUEUE_TRANSFER_BIT :: VkQueueFlagBits
- pattern VK_QUEUE_SPARSE_BINDING_BIT :: VkQueueFlagBits
- vkGetPhysicalDeviceProperties :: VkPhysicalDevice -> Ptr VkPhysicalDeviceProperties -> IO ()
- newtype VkInstanceCreateFlags = VkInstanceCreateFlags VkFlags
- vkGetPhysicalDeviceFormatProperties :: VkPhysicalDevice -> VkFormat -> Ptr VkFormatProperties -> IO ()
- data VkFormatProperties = VkFormatProperties {}
VkPhysicalDeviceType
newtype VkPhysicalDeviceType Source #
pattern VK_PHYSICAL_DEVICE_TYPE_OTHER :: VkPhysicalDeviceType Source #
pattern VK_PHYSICAL_DEVICE_TYPE_CPU :: VkPhysicalDeviceType Source #
vkGetPhysicalDeviceImageFormatProperties
vkGetPhysicalDeviceImageFormatProperties :: VkPhysicalDevice -> VkFormat -> VkImageType -> VkImageTiling -> VkImageUsageFlags -> VkImageCreateFlags -> Ptr VkImageFormatProperties -> IO VkResult Source #
type PFN_vkVoidFunction = FunPtr (IO ()) Source #
data VkApplicationInfo Source #
data VkPhysicalDeviceLimits Source #
data VkMemoryHeap Source #
vkEnumeratePhysicalDevices
vkEnumeratePhysicalDevices :: VkInstance -> Ptr Word32 -> Ptr VkPhysicalDevice -> IO VkResult Source #
vkGetDeviceProcAddr
vkGetDeviceProcAddr :: VkDevice -> Ptr CChar -> IO PFN_vkVoidFunction Source #
vkCreateInstance
vkCreateInstance :: Ptr VkInstanceCreateInfo -> Ptr VkAllocationCallbacks -> Ptr VkInstance -> IO VkResult Source #
VkFormatFeatureFlags
newtype VkFormatFeatureFlagBits Source #
type VkFormatFeatureFlags = VkFormatFeatureFlagBits Source #
Alias for VkFormatFeatureFlagBits
pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for storage images (STORAGE_IMAGE descriptor type)
pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT :: VkFormatFeatureFlagBits Source #
Format supports atomic operations in case it's used for storage images
pattern VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for uniform texel buffers (TBOs)
pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for storage texel buffers (IBOs)
pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT :: VkFormatFeatureFlagBits Source #
Format supports atomic operations in case it's used for storage texel buffers
pattern VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for vertex buffers (VBOs)
pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for color attachment images
pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT :: VkFormatFeatureFlagBits Source #
Format supports blending in case it's used for color attachment images
pattern VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkFormatFeatureFlagBits Source #
Format can be used for depth/stencil attachment images
pattern VK_FORMAT_FEATURE_BLIT_SRC_BIT :: VkFormatFeatureFlagBits Source #
Format can be used as the source image of blits with vkCmdBlitImage
pattern VK_FORMAT_FEATURE_BLIT_DST_BIT :: VkFormatFeatureFlagBits Source #
Format can be used as the destination image of blits with vkCmdBlitImage
pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT :: VkFormatFeatureFlagBits Source #
Format can be filtered with VK_FILTER_LINEAR when being sampled
data VkInstance_T Source #
type VkInstance = Ptr VkInstance_T Source #
VkMemoryHeapFlags
newtype VkMemoryHeapFlagBits Source #
type VkMemoryHeapFlags = VkMemoryHeapFlagBits Source #
Alias for VkMemoryHeapFlagBits
pattern VK_MEMORY_HEAP_DEVICE_LOCAL_BIT :: VkMemoryHeapFlagBits Source #
If set, heap represents device memory
vkGetPhysicalDeviceFeatures
vkGetPhysicalDeviceMemoryProperties
vkGetPhysicalDeviceMemoryProperties :: VkPhysicalDevice -> Ptr VkPhysicalDeviceMemoryProperties -> IO () Source #
data VkPhysicalDeviceProperties Source #
vkGetPhysicalDeviceQueueFamilyProperties
vkGetPhysicalDeviceQueueFamilyProperties :: VkPhysicalDevice -> Ptr Word32 -> Ptr VkQueueFamilyProperties -> IO () Source #
data VkMemoryType Source #
vkGetInstanceProcAddr
VkMemoryPropertyFlags
newtype VkMemoryPropertyFlagBits Source #
type VkMemoryPropertyFlags = VkMemoryPropertyFlagBits Source #
Alias for VkMemoryPropertyFlagBits
pattern VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT :: VkMemoryPropertyFlagBits Source #
If otherwise stated, then allocate memory on device
pattern VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT :: VkMemoryPropertyFlagBits Source #
Memory is mappable by host
pattern VK_MEMORY_PROPERTY_HOST_COHERENT_BIT :: VkMemoryPropertyFlagBits Source #
Memory will have io coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flushinvalidate host cache
pattern VK_MEMORY_PROPERTY_HOST_CACHED_BIT :: VkMemoryPropertyFlagBits Source #
Memory will be cached by the host
pattern VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT :: VkMemoryPropertyFlagBits Source #
Memory may be allocated by the driver when it is required
vkDestroyInstance
vkDestroyInstance :: VkInstance -> Ptr VkAllocationCallbacks -> IO () Source #
VkQueueFlags
newtype VkQueueFlagBits Source #
type VkQueueFlags = VkQueueFlagBits Source #
Alias for VkQueueFlagBits
pattern VK_QUEUE_GRAPHICS_BIT :: VkQueueFlagBits Source #
Queue supports graphics operations
pattern VK_QUEUE_COMPUTE_BIT :: VkQueueFlagBits Source #
Queue supports compute operations
pattern VK_QUEUE_TRANSFER_BIT :: VkQueueFlagBits Source #
Queue supports transfer operations
pattern VK_QUEUE_SPARSE_BINDING_BIT :: VkQueueFlagBits Source #
Queue supports sparse resource memory management operations
vkGetPhysicalDeviceProperties
vkGetPhysicalDeviceProperties :: VkPhysicalDevice -> Ptr VkPhysicalDeviceProperties -> IO () Source #
VkInstanceCreateFlags
newtype VkInstanceCreateFlags Source #
Opaque flag