Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DefaultWorkarounds

Stores the workaround configuration for a DefaultDeviceFilter.
Read time 1 minuteLast updated 10 days ago

Definition

public class DefaultWorkarounds

Remarks

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.

Fields

Value

Description

disabledList of workaround names that are forced off.
enabledList of workaround names that are forced on.

Static Fields

Value

Description

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

Constructors

Constructor

Description

DefaultWorkarounds()Creates a new
DefaultWorkarounds
instance with no overridden workarounds.

Methods

Method

Description

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