Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

DefaultWorkarounds

class in UnityEditor.HardwareProfiles

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Stores the workaround configuration for a DefaultDeviceFilter.

This class maintains two lists of workaround names: enabled workarounds that are forced on, and disabled workarounds that are forced off. Workarounds not present in either list use Unity's default behavior. Use DefaultDeviceFilter.SetWorkaround to modify individual workarounds, or DefaultDeviceFilter.DisableAllWorkarounds to disable all workarounds at once.

For more information, refer to Workaround hardware profile settings.

Static Properties

Property Description
DefinedWorkaroundsAn array of all workaround names recognized by Unity's Vulkan backend.

Constructors

Constructor Description
DefaultWorkaroundsCreates a new DefaultWorkarounds instance with no overridden workarounds.

Public Methods

Method Description
DisableAllMoves all defined workarounds to the disabled list.
SetWorkaroundSets the state of a specific driver workaround for this default filter.