| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Core11.Promoted_from_VK_KHR_get_physical_device_properties2
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 :: VkStructureType
- vkGetPhysicalDeviceFeatures2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFeatures" ::: Ptr VkPhysicalDeviceFeatures2) -> IO ()
- vkGetPhysicalDeviceProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pProperties" ::: Ptr VkPhysicalDeviceProperties2) -> IO ()
- vkGetPhysicalDeviceFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("format" ::: VkFormat) -> ("pFormatProperties" ::: Ptr VkFormatProperties2) -> IO ()
- vkGetPhysicalDeviceImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pImageFormatInfo" ::: Ptr VkPhysicalDeviceImageFormatInfo2) -> ("pImageFormatProperties" ::: Ptr VkImageFormatProperties2) -> IO VkResult
- vkGetPhysicalDeviceQueueFamilyProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pQueueFamilyPropertyCount" ::: Ptr Word32) -> ("pQueueFamilyProperties" ::: Ptr VkQueueFamilyProperties2) -> IO ()
- vkGetPhysicalDeviceMemoryProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pMemoryProperties" ::: Ptr VkPhysicalDeviceMemoryProperties2) -> IO ()
- vkGetPhysicalDeviceSparseImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFormatInfo" ::: Ptr VkPhysicalDeviceSparseImageFormatInfo2) -> ("pPropertyCount" ::: Ptr Word32) -> ("pProperties" ::: Ptr VkSparseImageFormatProperties2) -> IO ()
- data VkPhysicalDeviceFeatures2 = VkPhysicalDeviceFeatures2 {}
- data VkPhysicalDeviceProperties2 = VkPhysicalDeviceProperties2 {}
- data VkFormatProperties2 = VkFormatProperties2 {}
- data VkImageFormatProperties2 = VkImageFormatProperties2 {}
- data VkPhysicalDeviceImageFormatInfo2 = VkPhysicalDeviceImageFormatInfo2 {}
- data VkQueueFamilyProperties2 = VkQueueFamilyProperties2 {}
- data VkPhysicalDeviceMemoryProperties2 = VkPhysicalDeviceMemoryProperties2 {}
- data VkSparseImageFormatProperties2 = VkSparseImageFormatProperties2 {}
- data VkPhysicalDeviceSparseImageFormatInfo2 = VkPhysicalDeviceSparseImageFormatInfo2 {}
Documentation
vkGetPhysicalDeviceFeatures2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFeatures" ::: Ptr VkPhysicalDeviceFeatures2) -> IO () Source #
vkGetPhysicalDeviceFeatures2 - Reports capabilities of a physical device
Parameters
physicalDeviceis the physical device from which to query the supported features.
pFeaturesis a pointer to aVkPhysicalDeviceFeatures2structure in which the physical device features are returned.
Description
Each structure in pFeatures and its pNext chain contain members
corresponding to fine-grained features. vkGetPhysicalDeviceFeatures2
writes each member to a boolean value indicating whether that feature is
supported.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
pFeaturesmust be a valid pointer to aVkPhysicalDeviceFeatures2structure
See Also
vkGetPhysicalDeviceProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pProperties" ::: Ptr VkPhysicalDeviceProperties2) -> IO () Source #
vkGetPhysicalDeviceProperties2 - Returns properties of a physical device
Parameters
physicalDeviceis the handle to the physical device whose properties will be queried.
pPropertiespoints to an instance of theVkPhysicalDeviceProperties2structure, that will be filled with returned information.
Description
Each structure in pProperties and its pNext chain contain members
corresponding to properties or implementation-dependent limits.
vkGetPhysicalDeviceProperties2 writes each member to a value
indicating the value of that property or limit.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
pPropertiesmust be a valid pointer to aVkPhysicalDeviceProperties2structure
See Also
vkGetPhysicalDeviceFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("format" ::: VkFormat) -> ("pFormatProperties" ::: Ptr VkFormatProperties2) -> IO () Source #
vkGetPhysicalDeviceFormatProperties2 - Lists physical device’s format capabilities
Parameters
physicalDeviceis the physical device from which to query the format properties.
formatis the format whose properties are queried.pFormatPropertiesis a pointer to aVkFormatProperties2structure in which physical device properties forformatare returned.
Description
vkGetPhysicalDeviceFormatProperties2 behaves similarly to
vkGetPhysicalDeviceFormatProperties,
with the ability to return extended information in a pNext chain of
output structures.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
formatmust be a validVkFormatvaluepFormatPropertiesmust be a valid pointer to aVkFormatProperties2structure
See Also
vkGetPhysicalDeviceImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pImageFormatInfo" ::: Ptr VkPhysicalDeviceImageFormatInfo2) -> ("pImageFormatProperties" ::: Ptr VkImageFormatProperties2) -> IO VkResult Source #
vkGetPhysicalDeviceImageFormatProperties2 - Lists physical device’s image format capabilities
Parameters
physicalDeviceis the physical device from which to query the image capabilities.
pImageFormatInfopoints to an instance of theVkPhysicalDeviceImageFormatInfo2structure, describing the parameters that would be consumed byvkCreateImage.pImageFormatPropertiespoints to an instance of theVkImageFormatProperties2structure in which capabilities are returned.
Description
vkGetPhysicalDeviceImageFormatProperties2 behaves similarly to
vkGetPhysicalDeviceImageFormatProperties,
with the ability to return extended information in a pNext chain of
output structures.
Valid Usage
- If the
pNextchain ofpImageFormatPropertiescontains an instance ofVkAndroidHardwareBufferUsageANDROID, thepNextchain ofpImageFormatInfomust contain an instance ofVkPhysicalDeviceExternalImageFormatInfowithhandleTypeset toVK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
pImageFormatInfomust be a valid pointer to a validVkPhysicalDeviceImageFormatInfo2structurepImageFormatPropertiesmust be a valid pointer to aVkImageFormatProperties2structure
Return Codes
- Success
- -
VK_SUCCESS
- Failure
- -
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_FORMAT_NOT_SUPPORTED
See Also
VkImageFormatProperties2,
VkPhysicalDevice,
VkPhysicalDeviceImageFormatInfo2
vkGetPhysicalDeviceQueueFamilyProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pQueueFamilyPropertyCount" ::: Ptr Word32) -> ("pQueueFamilyProperties" ::: Ptr VkQueueFamilyProperties2) -> IO () Source #
vkGetPhysicalDeviceQueueFamilyProperties2 - Reports properties of the queues of the specified physical device
Parameters
physicalDeviceis the handle to the physical device whose properties will be queried.
pQueueFamilyPropertyCountis a pointer to an integer related to the number of queue families available or queried, as described invkGetPhysicalDeviceQueueFamilyProperties.pQueueFamilyPropertiesis eitherNULLor a pointer to an array ofVkQueueFamilyProperties2structures.
Description
vkGetPhysicalDeviceQueueFamilyProperties2 behaves similarly to
vkGetPhysicalDeviceQueueFamilyProperties,
with the ability to return extended information in a pNext chain of
output structures.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
pQueueFamilyPropertyCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pQueueFamilyPropertyCountis not0, andpQueueFamilyPropertiesis notNULL,pQueueFamilyPropertiesmust be a valid pointer to an array ofpQueueFamilyPropertyCountVkQueueFamilyProperties2structures
See Also
vkGetPhysicalDeviceMemoryProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pMemoryProperties" ::: Ptr VkPhysicalDeviceMemoryProperties2) -> IO () Source #
vkGetPhysicalDeviceMemoryProperties2 - Reports memory information for the specified physical device
Parameters
physicalDeviceis the handle to the device to query.
pMemoryPropertiespoints to an instance ofVkPhysicalDeviceMemoryProperties2structure in which the properties are returned.
Description
vkGetPhysicalDeviceMemoryProperties2 behaves similarly to
vkGetPhysicalDeviceMemoryProperties,
with the ability to return extended information in a pNext chain of
output structures.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
pMemoryPropertiesmust be a valid pointer to aVkPhysicalDeviceMemoryProperties2structure
See Also
vkGetPhysicalDeviceSparseImageFormatProperties2 :: ("physicalDevice" ::: VkPhysicalDevice) -> ("pFormatInfo" ::: Ptr VkPhysicalDeviceSparseImageFormatInfo2) -> ("pPropertyCount" ::: Ptr Word32) -> ("pProperties" ::: Ptr VkSparseImageFormatProperties2) -> IO () Source #
vkGetPhysicalDeviceSparseImageFormatProperties2 - Retrieve properties of an image format applied to sparse images
Parameters
physicalDeviceis the physical device from which to query the sparse image capabilities.
pFormatInfois a pointer to a structure of typeVkPhysicalDeviceSparseImageFormatInfo2containing input parameters to the command.pPropertyCountis a pointer to an integer related to the number of sparse format properties available or queried, as described below.pPropertiesis eitherNULLor a pointer to an array ofVkSparseImageFormatProperties2structures.
Description
vkGetPhysicalDeviceSparseImageFormatProperties2 behaves identically to
vkGetPhysicalDeviceSparseImageFormatProperties,
with the ability to return extended information by adding extension
structures to the pNext chain of its pProperties parameter.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandle
pFormatInfomust be a valid pointer to a validVkPhysicalDeviceSparseImageFormatInfo2structurepPropertyCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pPropertyCountis not0, andpPropertiesis notNULL,pPropertiesmust be a valid pointer to an array ofpPropertyCountVkSparseImageFormatProperties2structures
See Also
VkPhysicalDevice,
VkPhysicalDeviceSparseImageFormatInfo2,
VkSparseImageFormatProperties2
data VkPhysicalDeviceFeatures2 Source #
VkPhysicalDeviceFeatures2 - Structure describing the fine-grained features that can be supported by an implementation
Members
The VkPhysicalDeviceFeatures2 structure is defined as:
Description
sTypeis the type of this structure.
pNextisNULLor a pointer to an extension-specific structure.featuresis a structure of typeVkPhysicalDeviceFeaturesdescribing the fine-grained features of the Vulkan 1.0 API.
The pNext chain of this structure is used to extend the structure with
features defined by extensions. This structure can be used in
vkGetPhysicalDeviceFeatures2 or can be in the pNext chain of a
VkDeviceCreateInfo structure, in which
case it controls which features are enabled in the device in lieu of
pEnabledFeatures.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2
See Also
VkPhysicalDeviceFeatures,
VkStructureType,
vkGetPhysicalDeviceFeatures2,
vkGetPhysicalDeviceFeatures2KHR
Constructors
| VkPhysicalDeviceFeatures2 | |
Fields
| |
data VkPhysicalDeviceProperties2 Source #
VkPhysicalDeviceProperties2 - Structure specifying physical device properties
Description
The pNext chain of this structure is used to extend the structure with
properties defined by extensions.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2
- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT,VkPhysicalDeviceConservativeRasterizationPropertiesEXT,VkPhysicalDeviceDiscardRectanglePropertiesEXT,VkPhysicalDeviceExternalMemoryHostPropertiesEXT,VkPhysicalDeviceIDProperties,VkPhysicalDeviceMaintenance3Properties,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX,VkPhysicalDeviceMultiviewProperties,VkPhysicalDevicePointClippingProperties,VkPhysicalDeviceProtectedMemoryProperties,VkPhysicalDevicePushDescriptorPropertiesKHR,VkPhysicalDeviceSampleLocationsPropertiesEXT,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT,VkPhysicalDeviceShaderCorePropertiesAMD,VkPhysicalDeviceSubgroupProperties, orVkPhysicalDeviceVertexAttributeDivisorPropertiesEXT - Each
sTypemember in thepNextchain must be unique
See Also
VkPhysicalDeviceProperties,
VkStructureType,
vkGetPhysicalDeviceProperties2,
vkGetPhysicalDeviceProperties2KHR
Constructors
| VkPhysicalDeviceProperties2 | |
Fields
| |
data VkFormatProperties2 Source #
VkFormatProperties2 - Structure specifying image format properties
Description
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2
pNextmust beNULL
See Also
VkFormatProperties,
VkStructureType,
vkGetPhysicalDeviceFormatProperties2,
vkGetPhysicalDeviceFormatProperties2KHR
Constructors
| VkFormatProperties2 | |
Fields
| |
data VkImageFormatProperties2 Source #
VkImageFormatProperties2 - Structure specifying a image format properties
Description
If the combination of parameters to
vkGetPhysicalDeviceImageFormatProperties2 is not supported by the
implementation for use in vkCreateImage,
then all members of imageFormatProperties will be filled with zero.
Note
Filling imageFormatProperties with zero for unsupported formats is an
exception to the usual rule that output structures have undefined
contents on error. This exception was unintentional, but is preserved
for backwards compatibility. This exeption only applies to
imageFormatProperties, not sType, pNext, or any structures chained
from pNext.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2
- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkAndroidHardwareBufferUsageANDROID,VkExternalImageFormatProperties,VkSamplerYcbcrConversionImageFormatProperties, orVkTextureLODGatherFormatPropertiesAMD - Each
sTypemember in thepNextchain must be unique
See Also
VkImageFormatProperties,
VkStructureType,
vkGetPhysicalDeviceImageFormatProperties2,
vkGetPhysicalDeviceImageFormatProperties2KHR
Constructors
| VkImageFormatProperties2 | |
Fields
| |
data VkPhysicalDeviceImageFormatInfo2 Source #
VkPhysicalDeviceImageFormatInfo2 - Structure specifying image creation parameters
Description
The members of VkPhysicalDeviceImageFormatInfo2 correspond to the
arguments to
vkGetPhysicalDeviceImageFormatProperties,
with sType and pNext added for extensibility.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2
pNextmust beNULLor a pointer to a valid instance ofVkPhysicalDeviceExternalImageFormatInfoformatmust be a validVkFormatvaluetypemust be a validVkImageTypevaluetilingmust be a validVkImageTilingvalueusagemust be a valid combination ofVkImageUsageFlagBitsvaluesusagemust not be0flagsmust be a valid combination ofVkImageCreateFlagBitsvalues
See Also
VkFormat,
VkImageCreateFlags,
VkImageTiling,
VkImageType,
VkImageUsageFlags,
VkStructureType,
vkGetPhysicalDeviceImageFormatProperties2,
vkGetPhysicalDeviceImageFormatProperties2KHR
Constructors
| VkPhysicalDeviceImageFormatInfo2 | |
Fields
| |
data VkQueueFamilyProperties2 Source #
VkQueueFamilyProperties2 - Structure providing information about a queue family
Description
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2
pNextmust beNULL
See Also
VkQueueFamilyProperties,
VkStructureType,
vkGetPhysicalDeviceQueueFamilyProperties2,
vkGetPhysicalDeviceQueueFamilyProperties2KHR
Constructors
| VkQueueFamilyProperties2 | |
Fields
| |
data VkPhysicalDeviceMemoryProperties2 Source #
VkPhysicalDeviceMemoryProperties2 - Structure specifying physical device memory properties
Description
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2
pNextmust beNULL
See Also
VkPhysicalDeviceMemoryProperties,
VkStructureType,
vkGetPhysicalDeviceMemoryProperties2,
vkGetPhysicalDeviceMemoryProperties2KHR
Constructors
| VkPhysicalDeviceMemoryProperties2 | |
Fields
| |
data VkSparseImageFormatProperties2 Source #
VkSparseImageFormatProperties2 - Structure specifying sparse image format properties
Description
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2
pNextmust beNULL
See Also
VkSparseImageFormatProperties,
VkStructureType,
vkGetPhysicalDeviceSparseImageFormatProperties2,
vkGetPhysicalDeviceSparseImageFormatProperties2KHR
Constructors
| VkSparseImageFormatProperties2 | |
Fields
| |
data VkPhysicalDeviceSparseImageFormatInfo2 Source #
VkPhysicalDeviceSparseImageFormatInfo2 - Structure specifying sparse image format inputs
Description
Valid Usage
samplesmust be a bit value that is set inVkImageFormatProperties::sampleCountsreturned byvkGetPhysicalDeviceImageFormatPropertieswithformat,type,tiling, andusageequal to those in this command andflagsequal to the value that is set inVkImageCreateInfo::flagswhen the image is created
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2
pNextmust beNULLformatmust be a validVkFormatvaluetypemust be a validVkImageTypevaluesamplesmust be a validVkSampleCountFlagBitsvalueusagemust be a valid combination ofVkImageUsageFlagBitsvaluesusagemust not be0tilingmust be a validVkImageTilingvalue
See Also
VkFormat,
VkImageTiling,
VkImageType,
VkImageUsageFlags,
VkSampleCountFlagBits,
VkStructureType,
vkGetPhysicalDeviceSparseImageFormatProperties2,
vkGetPhysicalDeviceSparseImageFormatProperties2KHR
Constructors
| VkPhysicalDeviceSparseImageFormatInfo2 | |
Fields
| |