Class YauiRendererFeature
Draws the camera panels (Yaui.PanelRenderMode.Camera) of the cameras that use this renderer: each Yaui.YauiInjectionPoint listed here is drawn at its event. Panels whose injection point is not listed are not drawn by this renderer.
Assembly: Yaui.dll
View Source
Declaration
public sealed class YauiRendererFeature : ScriptableRendererFeature
Properties
InjectionPoints
The injection points of this renderer and their events.
View Source
Declaration
public IReadOnlyList<YauiRendererFeature.Entry> InjectionPoints { get; }
Methods
TryGetRenderPassEvent(YauiInjectionPoint, out RenderPassEvent)
The event of <code class="paramref">point</code> in this renderer, if it is listed.
View Source
Declaration
public bool TryGetRenderPassEvent(YauiInjectionPoint point, out RenderPassEvent renderPassEvent)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
| Yaui.YauiInjectionPoint | point |
RenderPassEvent | renderPassEvent |
Create()
View Source
Declaration
public override void Create()
AddRenderPasses(ScriptableRenderer, ref RenderingData)
View Source
Declaration
public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
Parameters
| Type | Name |
|---|---|
ScriptableRenderer | renderer |
RenderingData | renderingData |