DelegateSceneRenderer Class
Namespace: Stride.Rendering.CompositingAssembly: Stride.Rendering.dll
A renderer which can provide Draw(RenderDrawContext) implementation with a delegate.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → SceneRendererBase →
DelegateSceneRenderer
Derived from DelegateSceneRenderer:
public class DelegateSceneRenderer : SceneRendererBase, IComponent, IReferencable, ICollectorHolder, ISceneRenderer, IRenderCollector, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
DelegateSceneRenderer(Action<RenderDrawContext>) | ||
Methods | ||
DrawCore(RenderContext, RenderDrawContext) |
Constructors
DelegateSceneRenderer(Action<RenderDrawContext>)
public DelegateSceneRenderer(Action<RenderDrawContext> drawAction)
Parameters
Type | Name | Description |
---|---|---|
System.Action<RenderDrawContext> | drawAction |
Methods
DrawCore(RenderContext, RenderDrawContext)
protected override void DrawCore(RenderContext context, RenderDrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context | |
RenderDrawContext | drawContext |