Script interface for Graphics Settings.
allConfiguredRenderPipelines | All RenderPipelineAssets that are configured |
currentRenderPipeline | The current active RenderPipelineAsset taking into consideration the default and any active override. |
defaultRenderingLayerMask | Stores the default value for the RenderingLayerMask property of newly created Renderers. |
defaultRenderPipeline | The default RenderPipelineAsset that describes how the Scene should be rendered when no override is configured. |
disableBuiltinCustomRenderTextureUpdate | Disables the built-in update loop for Custom Render Textures, so that you can write your own update loop. |
lightsUseColorTemperature | Whether to use a Light's color temperature when calculating the final color of that Light." |
lightsUseLinearIntensity | If this is true, Light intensity is multiplied against linear color values. If it is false, gamma color values are used. |
logWhenShaderIsCompiled | If this is true, a log entry is made each time a shader is compiled at application runtime. |
realtimeDirectRectangularAreaLights | Is the current render pipeline capable of rendering direct lighting for rectangular area Lights? |
renderPipelineAsset | The RenderPipelineAsset that describes how the Scene should be rendered. |
transparencySortAxis | An axis that describes the direction along which the distances of objects are measured for the purpose of sorting. |
transparencySortMode | Transparent object sorting mode. |
useScriptableRenderPipelineBatching | Enable/Disable SRP batcher (experimental) at runtime. |
videoShadersIncludeMode | If and when to include video shaders in the build. |
GetCustomShader | Get custom shader used instead of a built-in shader. |
GetGraphicsSettings | Provides a reference to the GraphicSettings object. |
GetShaderMode | Get built-in shader mode. |
HasShaderDefine | Returns true if shader define was set when compiling shaders for current GraphicsTier. Graphics Tiers are only available in the Built-in Render Pipeline. |
SetCustomShader | Set custom shader to use instead of a built-in shader. |
SetShaderMode | Set built-in shader mode. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | The name of the object. |
GetInstanceID | Gets the instance ID of the object. |
ToString | Returns the name of the object. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | Returns the first active loaded object of Type type. |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | Clones the object original and returns the clone. |
bool | Does the object exist? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |