Udostępnij za pośrednictwem


PackageManager.FeatureVulkanHardwareCompute 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 Vulkan native API will enumerate at least one VkPhysicalDevice, and the feature version will indicate what level of optional compute features that device supports beyond the Vulkan 1.

[Android.Runtime.Register("FEATURE_VULKAN_HARDWARE_COMPUTE", ApiSince=26)]
public const string FeatureVulkanHardwareCompute;
[<Android.Runtime.Register("FEATURE_VULKAN_HARDWARE_COMPUTE", ApiSince=26)>]
val mutable FeatureVulkanHardwareCompute : 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 Vulkan native API will enumerate at least one VkPhysicalDevice, and the feature version will indicate what level of optional compute features that device supports beyond the Vulkan 1.0 requirements.

Compute level 0 indicates: <ul> <li>The VK_KHR_variable_pointers extension and VkPhysicalDeviceVariablePointerFeaturesKHR::variablePointers feature are supported.</li> <li>VkPhysicalDeviceLimits::maxPerStageDescriptorStorageBuffers is at least 16.</li> </ul>

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

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