Table of Contents

Class SceneRendererBase

Namespace
Stride.Rendering.Compositing
Assembly
Stride.Rendering.dll

Describes the code part of a GraphicsCompositor.

[DataContract(Inherited = true)]
public abstract class SceneRendererBase : RendererCoreBase, IComponent, IReferencable, ICollectorHolder, ISceneRenderer, IRenderCollector, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
SceneRendererBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

SceneRendererBase()

protected SceneRendererBase()

Properties

Id

[DataMember(-100)]
[Display(null, null, Browsable = false)]
public Guid Id { get; set; }

Property Value

Guid

Methods

Collect(RenderContext)

Executed before extract. Should create views, update RenderStages, etc...

public void Collect(RenderContext context)

Parameters

context RenderContext

CollectCore(RenderContext)

Main collect method.

protected virtual void CollectCore(RenderContext context)

Parameters

context RenderContext

Draw(RenderDrawContext)

Draws this renderer with the specified context. See remarks.

public void Draw(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.

Remarks

The method Initialize(RenderContext) should be called automatically by the implementation if it was not done before the first draw.

DrawCore(RenderContext, RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected abstract void DrawCore(RenderContext context, RenderDrawContext drawContext)

Parameters

context RenderContext
drawContext RenderDrawContext