Search Results for

    Show / Hide Table of Contents

    Class LightRenderPath

    Logical element that groups every Drawable component which shares the same features. It establishes a drawing order, where every component from the same layer is rendered within the same batch.

    Inheritance
    object
    DisposableObject
    RenderPath
    LightRenderPath
    ShadowRenderPath
    Inherited Members
    RenderPath.passes
    RenderPath.passesToRender
    RenderPath.Passes
    RenderPath.PassesToRender
    RenderPath.TypeName
    RenderPath.DefaultPathId
    RenderPath.RenderManager
    RenderPath.RenderPipeline
    RenderPath.GraphicsPresenter
    RenderPath.GraphicsContext
    RenderPath.AdditionalEffectDirectives
    RenderPath.Collect(DrawContext)
    RenderPath.RenderPasses(DrawContext, CommandBuffer)
    RenderPath.RenderPassesInternal(DrawContext, CommandBuffer)
    RenderPath.Destroy()
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class LightRenderPath : RenderPath

    Constructors

    LightRenderPath(RenderManager)

    Initializes a new instance of the LightRenderPath class.

    Declaration
    public LightRenderPath(RenderManager renderManager)
    Parameters
    Type Name Description
    RenderManager renderManager

    The rendering manager.

    Methods

    CreateNewLightDrawContext(RenderPipeline, Light)

    Creates 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 source.

    Returns
    Type Description
    LightDrawContext

    The render context.

    Render(DrawContext, CommandBuffer)

    Renders 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
    RenderPath.Render(DrawContext, CommandBuffer)

    Render(LightDrawContext, CommandBuffer)

    Renders 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.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX