Interface IDataProvider
Namespace: UnityEngine.Rendering.Experimental.LookDev
Syntax
public interface IDataProvider
Properties
supportedDebugModes
Notify the LookDev about what debug view mode are available in this SRP
Declaration
IEnumerable<string> supportedDebugModes { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<String> | The list of the mode, None is not required. |
Methods
FirstInitScene(StageRuntimeInterface)
Additional configuration required by this SRP on LookDev's scene creation
Declaration
void FirstInitScene(StageRuntimeInterface stage)
Parameters
| Type | Name | Description |
|---|---|---|
| StageRuntimeInterface | stage | Access element of the LookDev's scene |
UpdateDebugMode(Int32)
Notify the SRP about a change in the DebugMode used
Declaration
void UpdateDebugMode(int debugIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | debugIndex | -1: None Others: map the result of supportedDebugModes |
UpdateSky(Camera, Sky, StageRuntimeInterface)
Notify the SRP that sky have changed in LookDev
Declaration
void UpdateSky(Camera camera, Sky sky, StageRuntimeInterface stage)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | The camera of the LookDev's scene |
| Sky | sky | The new Sky informations |
| StageRuntimeInterface | stage | Access element of the LookDev's scene |