Class ShaderStrippingSetting
Class that stores shader stripping settings shared between all pipelines
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class ShaderStrippingSetting
Properties
exportShaderVariants
Controls whether to output shader variant information to a file.
Declaration
public bool exportShaderVariants { get; set; }
Property Value
Type | Description |
---|---|
bool |
shaderVariantLogLevel
Controls the level of logging of shader variant information outputted during the build process. Information appears in the Unity Console when the build finishes.
Declaration
public ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
Property Value
Type | Description |
---|---|
ShaderVariantLogLevel |
stripRuntimeDebugShaders
When enabled, all debug display shader variants are removed when you build for the Unity Player. This decreases build time, but prevents the use of most Rendering Debugger features in Player builds.
Declaration
public bool stripRuntimeDebugShaders { get; set; }
Property Value
Type | Description |
---|---|
bool |
version
Current version.
Declaration
public int version { get; }
Property Value
Type | Description |
---|---|
int |