Class DelegateSceneRenderer
- Namespace
- Stride.Rendering.Compositing
- Assembly
- Stride.Rendering.dll
A renderer which can provide Draw(RenderDrawContext) implementation with a delegate.
public class DelegateSceneRenderer : SceneRendererBase, IComponent, IReferencable, ICollectorHolder, ISceneRenderer, IRenderCollector, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
- Inheritance
-
DelegateSceneRenderer
- Implements
- Inherited Members
- Extension Methods
Constructors
DelegateSceneRenderer(Action<RenderDrawContext>)
public DelegateSceneRenderer(Action<RenderDrawContext> drawAction)
Parameters
drawAction
Action<RenderDrawContext>
Methods
DrawCore(RenderContext, RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderContext context, RenderDrawContext drawContext)
Parameters
context
RenderContextdrawContext
RenderDrawContext