Table of Contents

Class RendererBase

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

Base implementation of IGraphicsRenderer

[DataContract]
public abstract class RendererBase : RendererCoreBase, IComponent, IReferencable, ICollectorHolder, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
RendererBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

RendererBase()

Initializes a new instance of the RendererBase class.

protected RendererBase()

RendererBase(string)

Initializes a new instance of the ComponentBase class.

protected RendererBase(string name)

Parameters

name string

The name attached to this component

Methods

Draw(RenderDrawContext)

Draws this renderer with the specified context.

public void Draw(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.

Exceptions

ArgumentNullException

context

InvalidOperationException

Cannot use a different context between Load and Draw

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected abstract void DrawCore(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.