Class GraphicsSettingsHelpers
Helper methods for working with the graphics settings.
Inherited Members
Namespace: Unity.XR.CompositionLayers.Rendering.Editor
Assembly: Unity.XR.CompositionLayers.Editor.dll
Syntax
public static class GraphicsSettingsHelpers
Methods
AddAlwaysIncludedShaders(ShaderType)
Adds a shader to the list of always included shaders in the graphics settings.
Declaration
public static bool AddAlwaysIncludedShaders(GraphicsSettingsHelpers.ShaderType shaderType)
Parameters
Type | Name | Description |
---|---|---|
GraphicsSettingsHelpers.ShaderType | shaderType | The type of shader to add. |
Returns
Type | Description |
---|---|
bool | true if the shader was added; false if the shader was not found or already included. |
Remarks
This method ensures that the specified shader is always included in the build by adding it to the graphics settings.