VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT
The VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT structure is
defined as:
typedef struct VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 textureCompressionASTC_3D;
} VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT;
pub struct PhysicalDeviceTextureCompressionASTC3DFeaturesEXT {
s_type: vk::StructureType,
p_next: *mut c_void,
texture_compression_astc_3d: vk::Bool32,
}
This structure describes the following feature:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.textureCompressionASTC_3Dindicates whether all of the ASTC 3D compressed texture formats are supported. If this feature is enabled, then theVK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT,VK_FORMAT_FEATURE_BLIT_SRC_BITandVK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BITfeatures must be supported inoptimalTilingFeaturesfor the following formats:VK_FORMAT_ASTC_3x3x3_UNORM_BLOCK_EXTVK_FORMAT_ASTC_3x3x3_SRGB_BLOCK_EXTVK_FORMAT_ASTC_3x3x3_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_4x3x3_UNORM_BLOCK_EXTVK_FORMAT_ASTC_4x3x3_SRGB_BLOCK_EXTVK_FORMAT_ASTC_4x3x3_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_4x4x3_UNORM_BLOCK_EXTVK_FORMAT_ASTC_4x4x3_SRGB_BLOCK_EXTVK_FORMAT_ASTC_4x4x3_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_4x4x4_UNORM_BLOCK_EXTVK_FORMAT_ASTC_4x4x4_SRGB_BLOCK_EXTVK_FORMAT_ASTC_4x4x4_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_5x4x4_UNORM_BLOCK_EXTVK_FORMAT_ASTC_5x4x4_SRGB_BLOCK_EXTVK_FORMAT_ASTC_5x4x4_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_5x5x4_UNORM_BLOCK_EXTVK_FORMAT_ASTC_5x5x4_SRGB_BLOCK_EXTVK_FORMAT_ASTC_5x5x4_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_5x5x5_UNORM_BLOCK_EXTVK_FORMAT_ASTC_5x5x5_SRGB_BLOCK_EXTVK_FORMAT_ASTC_5x5x5_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_6x5x5_UNORM_BLOCK_EXTVK_FORMAT_ASTC_6x5x5_SRGB_BLOCK_EXTVK_FORMAT_ASTC_6x5x5_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_6x6x5_UNORM_BLOCK_EXTVK_FORMAT_ASTC_6x6x5_SRGB_BLOCK_EXTVK_FORMAT_ASTC_6x6x5_SFLOAT_BLOCK_EXTVK_FORMAT_ASTC_6x6x6_UNORM_BLOCK_EXTVK_FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXTVK_FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT
If the VkPhysicalDeviceTextureCompressionASTC3DFeatures structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceTextureCompressionASTC3DFeatures, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT