Interface IDataProvider
Interface that Scriptable Render Pipelines should implement to be able to use LookDev window
Namespace: UnityEngine.Rendering.LookDev
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public interface IDataProvider
Properties
Name | Description |
---|---|
supportedDebugModes | Notify the LookDev about what debug view mode are available in this SRP |
Methods
Name | Description |
---|---|
Cleanup(StageRuntimeInterface) | Callback called to do any necessary cleanup. |
FirstInitScene(StageRuntimeInterface) | Additional configuration required by this SRP on LookDev's scene creation |
GetShadowMask(ref RenderTexture, StageRuntimeInterface) | Compute the shadow mask in SRP for LookDev sun simulation |
OnBeginRendering(StageRuntimeInterface) | Callback called at the beginning of LookDev rendering. |
OnEndRendering(StageRuntimeInterface) | Callback called at the beginning of LookDev rendering. |
UpdateDebugMode(int) | Notify the SRP about a change in the DebugMode used |
UpdateSky(Camera, Sky, StageRuntimeInterface) | Notify the SRP that sky have changed in LookDev |