语言

PackageManager.FeatureVulkanHardwareLevel 字段

定义

#getSystemAvailableFeatures #hasSystemFeature(String, int)功能和:如果支持此功能,则此设备上的 Vulkan 实现是硬件加速的,并且 Vulkan 本机 API 将枚举至少一个VkPhysicalDevice,并且功能版本将指示其支持的可选硬件功能限制级别。

[Android.Runtime.Register("FEATURE_VULKAN_HARDWARE_LEVEL", ApiSince=24)]
public const string FeatureVulkanHardwareLevel;
[<Android.Runtime.Register("FEATURE_VULKAN_HARDWARE_LEVEL", ApiSince=24)>]
val mutable FeatureVulkanHardwareLevel : string

字段值

特性

注解

#getSystemAvailableFeatures #hasSystemFeature(String, int)功能和:如果支持此功能,则此设备上的 Vulkan 实现是硬件加速的,并且 Vulkan 本机 API 将枚举至少一个VkPhysicalDevice,并且功能版本将指示其支持的可选硬件功能限制级别。

级别 0 包括基础 Vulkan 要求,以及:<ul><li<>VkPhysicalDeviceFeatures::textureCompressionETC2/li></ul>

级别 1 还包括:<ul<>liVkPhysicalDeviceFeatures::fullDrawIndexUint32></li/liVkPhysicalDeviceFeatures::imageCubeArray<<>>/li/<<>>VkPhysicalDeviceFeatures::independentBlendli/><><VkPhysicalDeviceFeatures::geometryShaderli/<><>VkPhysicalDeviceFeatures::tessellationShaderli/ul><>VkPhysicalDeviceFeatures::sampleRateShading<><>VkPhysicalDeviceFeatures::textureCompressionASTC_LDR<><>VkPhysicalDeviceFeatures::fragmentStoresAndAtomics<><>VkPhysicalDeviceFeatures::shaderImageGatherExtended<><>VkPhysicalDeviceFeatures::shaderUniformBufferArrayDynamicIndexing<><>VkPhysicalDeviceFeatures::shaderSampledImageArrayDynamicIndexing<><>

Java文档android.content.pm.PackageManager.FEATURE_VULKAN_HARDWARE_LEVEL。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于