RendererBase Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Base implementation of IGraphicsRenderer
                 Derived from RendererBase:  GraphicsCompositor  DrawEffect 
              
              
              
[DataContract]
public abstract class RendererBase : RendererCoreBase, IComponent, IReferencable, ICollectorHolder, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
              | Name | Description | |
|---|---|---|
| Constructors | ||
| RendererBase() | Initializes a new instance of the RendererBase class.  | 
                          |
| RendererBase(String) | Initializes a new instance of the ComponentBase class.  | 
                          |
| Methods | ||
| Draw(RenderDrawContext) | Draws this renderer with the specified context.  | 
                          |
| DrawCore(RenderDrawContext) | Main drawing method for this renderer that must be implemented.  | 
                          |
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
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name attached to this component  | 
                  
Methods
Draw(RenderDrawContext)
Draws this renderer with the specified context.
public void Draw(RenderDrawContext context)
              Parameters
| Type | Name | Description | 
|---|---|---|
| RenderDrawContext | context | The context.  | 
                  
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | context  | 
                  
| System.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
| Type | Name | Description | 
|---|---|---|
| RenderDrawContext | context | The context.  |