Formats
Supported buffer and image formats may vary across implementations. A minimum set of format features are guaranteed, but others must be explicitly queried before use to ensure they are supported by the implementation.
The features for the set of formats (VkFormat) supported by the implementation are queried individually using the vkGetPhysicalDeviceFormatProperties command.
Format DefinitionCompatible formats of planes of multi-planar formats
Packed Formats
Identification of Formats
Representation and Texel Block Size
Depth/Stencil Formats
Format Compatibility Classes
void vkGetPhysicalDeviceFormatProperties( VkPhysicalDevice VkFormat VkFormatProperties* physicalDevice, format, pFormatProperties); void vkGetPhysicalDeviceFormatProperties2( VkPhysicalDevice VkFormat VkFormatProperties2* physicalDevice, format, pFormatProperties); Required Format SupportFormats without shader storage format
Depth comparison format support
本节教程就到此结束,希望大家继续阅读我之后的教程。
谢谢大家,再见!
原创技术文章,撰写不易,转载请注明出处:电子设备中的画家|王烁 于 2021 年 5 月 10 日发表,原文链接(http://geekfaner.com/shineengine/blog20_Vulkanv1.2_6.html)