다음을 통해 공유


PackageManager.FeatureVulkanHardwareVersion Field

Definition

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the Vulkan implementation on this device is hardware accelerated, and the feature version will indicate the highest VkPhysicalDeviceProperties::apiVersion supported by the physical devices that support the hardware level indicated by #FEATURE_VULKAN_HARDWARE_LEVEL.

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

Field Value

Attributes

Remarks

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the Vulkan implementation on this device is hardware accelerated, and the feature version will indicate the highest VkPhysicalDeviceProperties::apiVersion supported by the physical devices that support the hardware level indicated by #FEATURE_VULKAN_HARDWARE_LEVEL. The feature version uses the same encoding as Vulkan version numbers: <ul> <li>Major version number in bits 31-22</li> <li>Minor version number in bits 21-12</li> <li>Patch version number in bits 11-0</li> </ul> A version of 1.1.0 or higher also indicates: <ul> <li>The VK_ANDROID_external_memory_android_hardware_buffer extension is supported.</li> <li>SYNC_FD external semaphore and fence handles are supported.</li> <li>VkPhysicalDeviceSamplerYcbcrConversionFeatures::samplerYcbcrConversion is supported.</li> </ul> A subset of devices that support Vulkan 1.1 do so via software emulation. For more information, see Vulkan Design Guidelines.

Java documentation for android.content.pm.PackageManager.FEATURE_VULKAN_HARDWARE_VERSION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to