How to check that device support antialiasing for Vulkan Graphics APi. For example for checking it on OPENGL used
String extension = GLES10.glGetString(GLES10.GL_EXTENSIONS);
and then check contains string " GL_EXT_texture_filter_anisotropic ". How do it if used Vulkan Graphics api?
Anisotropic filtering is an optional device feature. You can query it with
VkPhysicalDeviceFeatures supportedFeatures;
vkGetPhysicalDeviceFeatures(device, &supportedFeatures);
supportedFeatures.samplerAnisotropy
will contain a boolean stating if the feature is available.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.