DefineHardwareProfile(ProfileDatabase)
Implement this method to configure Vulkan hardware profiles for the Android build.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Android
- Assembly: UnityEditor.Android.Extensions
public abstract void DefineHardwareProfile(ProfileDatabase profileDatabase)
Parameters
Remarks
Unity calls this method during the build process to collect hardware profile definitions. Use the provided ProfileDatabase to configure the default device filter and create device-specific profiles.
Additional Resources: ProfileDatabase, ProfileDatabase.CreateFilter, ProfileDatabase.GetDefaultFilter, Vulkan hardware profiles.