Class LightRenderPath
Logical element that groups every Drawable component which shares a same feature/s. It establishes a drawing order, where every component from a same layer is rendered within the same batch.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public abstract class LightRenderPath : RenderPath, IDisposable
  Constructors
LightRenderPath(RenderManager)
Initializes a new instance of the LightRenderPath class.
Declaration
public LightRenderPath(RenderManager renderManager)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RenderManager | renderManager | The render manager.  | 
      
Methods
CreateNewLightDrawContext(RenderPipeline, Light)
Create a new draw context.
Declaration
public virtual LightDrawContext CreateNewLightDrawContext(RenderPipeline renderPipeline, Light light)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RenderPipeline | renderPipeline | The render pipeline.  | 
      
| Light | light | The light.  | 
      
Returns
| Type | Description | 
|---|---|
| LightDrawContext | The render context.  | 
      
Render(DrawContext, CommandBuffer)
Render all batches collected by the specified DrawContext.
Declaration
public override void Render(DrawContext drawContext, CommandBuffer commandBuffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DrawContext | drawContext | The DrawContext.  | 
      
| CommandBuffer | commandBuffer | The command buffer used to render this context.  | 
      
Overrides
Render(LightDrawContext, CommandBuffer)
Render this scene.
Declaration
protected abstract void Render(LightDrawContext drawContext, CommandBuffer commandBuffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LightDrawContext | drawContext | The context to draw.  | 
      
| CommandBuffer | commandBuffer | The command buffer used to render this context.  |