Class ForwardRendererData
Inheritance
ForwardRendererData
Syntax
public class ForwardRendererData : ScriptableRendererData
Fields
postProcessData
Declaration
public PostProcessData postProcessData
Field Value
shaders
Declaration
public ForwardRendererData.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
opaqueLayerMask
Use this to configure how to filter opaque objects.
Declaration
public LayerMask opaqueLayerMask { get; set; }
Property Value
Type |
Description |
LayerMask |
|
renderingMode
Rendering mode. Only Forward rendering is supported in this version.
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
Type |
Description |
LayerMask |
|
Methods
Create()
Declaration
protected override ScriptableRenderer Create()
Returns
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides