Class UniversalRendererData
Inheritance
UniversalRendererData
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[Serializable]
[ReloadGroup]
[ExcludeFromPreset]
public class UniversalRendererData : ScriptableRendererData, ISerializationCallbackReceiver
Fields
postProcessData
Declaration
public PostProcessData postProcessData
Field Value
shaders
Declaration
public UniversalRendererData.ShaderResources shaders
Field Value
Properties
accurateGbufferNormals
Use Octaedron Octahedron normal vector encoding for gbuffer normals.
The overhead is negligible from desktop GPUs, while it should be avoided for mobile GPUs.
Declaration
public bool accurateGbufferNormals { get; set; }
Property Value
defaultStencilState
Declaration
public StencilStateData defaultStencilState { get; set; }
Property Value
depthPrimingMode
Declaration
public DepthPrimingMode depthPrimingMode { get; set; }
Property Value
intermediateTextureMode
Controls when URP renders via an intermediate texture.
Declaration
public IntermediateTextureMode intermediateTextureMode { get; set; }
Property Value
opaqueLayerMask
Use this to configure how to filter opaque objects.
Declaration
public LayerMask opaqueLayerMask { get; set; }
Property Value
renderingMode
Declaration
public RenderingMode renderingMode { get; set; }
Property Value
shadowTransparentReceive
True if transparent objects receive shadows.
Declaration
public bool shadowTransparentReceive { get; set; }
Property Value
transparentLayerMask
Use this to configure how to filter transparent objects.
Declaration
public LayerMask transparentLayerMask { get; set; }
Property Value
Methods
Create()
Declaration
protected override ScriptableRenderer Create()
Returns
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnValidate()
Declaration
protected override void OnValidate()
Overrides
Explicit Interface Implementations
ISerializationCallbackReceiver.OnAfterDeserialize()
Declaration
void ISerializationCallbackReceiver.OnAfterDeserialize()
Implements
ISerializationCallbackReceiver.OnBeforeSerialize()
Declaration
void ISerializationCallbackReceiver.OnBeforeSerialize()
Implements