Class RenderObjects
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Experimental.Rendering.Universal
Syntax
[ExcludeFromPreset]
[Tooltip("Render Objects simplifies the injection of additional render passes by exposing a selection of commonly used settings.")]
public class RenderObjects : ScriptableRendererFeature, IDisposable
Fields
settings
Declaration
public RenderObjects.RenderObjectsSettings settings
Field Value
Type | Description |
---|---|
RenderObjects.RenderObjectsSettings |
Methods
AddRenderPasses(ScriptableRenderer, ref RenderingData)
Injects one or multiple ScriptableRenderPass
in the renderer.
Declaration
public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderer | renderer | Renderer used for adding render passes. |
RenderingData | renderingData | Rendering state. Use this to setup render passes. |
Overrides
Create()
Initializes this feature's resources. This is called every time serialization happens.
Declaration
public override void Create()