Interface IShaderVariantSettings
Exposes settings for shader variants
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Obsolete("Use GraphicsSettings.GetRenderPipelineSettings<ShaderStrippingSetting>(). #from(23.3)")]
public interface IShaderVariantSettings
Properties
exportShaderVariants
Specifies if the stripping of the shaders variants needs to be exported
Declaration
bool exportShaderVariants { get; set; }
Property Value
Type | Description |
---|---|
bool |
shaderVariantLogLevel
Specifies the level of the logging for shader variants
Declaration
ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
Property Value
Type | Description |
---|---|
ShaderVariantLogLevel |
stripDebugVariants
Controls whether debug display shaders for Rendering Debugger are available in Player builds.
Declaration
bool stripDebugVariants { get; set; }
Property Value
Type | Description |
---|---|
bool |