Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EditorGraphicsSettings

Editor-specific script interface for Graphics Settings.
Read time 1 minuteLast updated 3 days ago

Definition

public sealed class EditorGraphicsSettings

Static Properties

Property

Description

albedoSwatchesReturns an array of AlbedoSwatchInfo.
batchRendererGroupShaderStrippingModeThe current mode the BatchRendererGroup stripping is set to.
defaultLightBakerSpecifies the default light baker to use for lightmap and light probe generation.
defaultMeshBufferTargetThe default GPU buffer target that Unity applies to the vertex and index buffers of meshes.

Static Methods

Method

Description

GetRenderPipelineGlobalSettingsAssetGets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
GetRenderPipelineSettingsFromInterfaceGet all settings for the currently active pipeline that implement
TSettingsInterfaceType
.
GetShaderBuildSettingsGets the currently active set of shader build settings.
GetSupportedRenderPipelineGraphicsSettingsTypesForPipelineRetrieves the IRenderPipelineGraphicsSettings available for the given RenderPipelineAsset.
GetTierSettingsReturns TierSettings for a given build target and graphics tier.
PopulateRenderPipelineGraphicsSettingsFills the settingsList with all the available IRenderPipelineGraphicsSettings that are supported for the RenderPipelineGlobalSettings asset.
SetRenderPipelineGlobalSettingsAssetThe method sets the association between the given RenderPipeline asset and the RenderPipelineGlobalSettings asset.
SetShaderBuildSettingsSets the currently active shader build settings.
SetTierSettingsSet the TierSettings for a given build target and graphics tier.
ShouldValidateGraphicsForActiveBuildTargetAllows you to know if the build target requires for the Graphics validation step to be run on Player build.
TryGetFirstRenderPipelineSettingsFromInterfaceGet the first settings for the currently active pipeline that implements
TSettingsInterfaceType
.
TryGetRenderPipelineSettingsForPipelineRetrieves the settings object of type
TSettings
for the pipeline of type
TPipeline
if it is registered.
TryGetRenderPipelineSettingsFromInterfaceRetrieves the array of the settings objects of type
TSettingsInterfaceType
for the active Render Pipeline if they are registered.
TryGetRenderPipelineSettingsFromInterfaceForPipelineRetrieves the array of the settings objects of type
TSettingsInterfaceType
for the pipeline of type
TPipeline
if they are registered.