Search Results for

    Show / Hide Table of Contents

    Class ForwardRenderPath

    Forward path.

    Inheritance
    object
    DisposableObject
    RenderPath
    CameraRenderPath
    ForwardRenderPath
    Inherited Members
    CameraRenderPath.RenderToFrameBuffer
    CameraRenderPath.Render(DrawContext, CommandBuffer)
    CameraRenderPath.RegisterDrawContext(CameraDrawContext)
    CameraRenderPath.UnregisterDrawContext(CameraDrawContext)
    CameraRenderPath.RenderPassesInternal(DrawContext, CommandBuffer)
    RenderPath.passes
    RenderPath.passesToRender
    RenderPath.Passes
    RenderPath.PassesToRender
    RenderPath.TypeName
    RenderPath.RenderManager
    RenderPath.RenderPipeline
    RenderPath.GraphicsContext
    RenderPath.AdditionalEffectDirectives
    RenderPath.RenderPasses(DrawContext, CommandBuffer)
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class ForwardRenderPath : CameraRenderPath

    Constructors

    ForwardRenderPath(RenderManager)

    Initializes a new instance of the ForwardRenderPath class.

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

    The rendering manager.

    Fields

    Forward_Default

    The index of the forward pass.

    Declaration
    public const int Forward_Default = 2
    Field Value
    Type Description
    int

    Forward_GBuffer

    The GBuffer pass index.

    Declaration
    public const int Forward_GBuffer = 1
    Field Value
    Type Description
    int

    Forward_ZPrePass

    The Z pre-pass index.

    Declaration
    public const int Forward_ZPrePass = 0
    Field Value
    Type Description
    int

    GBufferPassIsEnabled

    Indicates whether the GBuffer pass is available.

    Declaration
    public bool GBufferPassIsEnabled
    Field Value
    Type Description
    bool

    ZPrePassIsEnabled

    Indicates whether the ZPrePass is available.

    Declaration
    public bool ZPrePassIsEnabled
    Field Value
    Type Description
    bool

    Properties

    DefaultPathId

    Gets the default path ID. Every RenderPath should define a default path.

    Declaration
    public override int DefaultPathId { get; }
    Property Value
    Type Description
    int
    Overrides
    RenderPath.DefaultPathId

    Methods

    CameraRender(CameraDrawContext, CommandBuffer)

    Renders this scene.

    Declaration
    protected override void CameraRender(CameraDrawContext drawContext, CommandBuffer commandBuffer)
    Parameters
    Type Name Description
    CameraDrawContext drawContext

    The context to draw.

    CommandBuffer commandBuffer

    The command buffer used to render this scene.

    Overrides
    CameraRenderPath.CameraRender(CameraDrawContext, CommandBuffer)

    Collect(DrawContext)

    Collects data to perform draw.

    Declaration
    public override void Collect(DrawContext drawContext)
    Parameters
    Type Name Description
    DrawContext drawContext

    The context for drawing.

    Overrides
    RenderPath.Collect(DrawContext)

    CreateNewCameraDrawContext(RenderPipeline, Camera)

    Creates a new draw context.

    Declaration
    public override CameraDrawContext CreateNewCameraDrawContext(RenderPipeline renderPipeline, Camera camera)
    Parameters
    Type Name Description
    RenderPipeline renderPipeline

    The render pipeline.

    Camera camera

    The camera.

    Returns
    Type Description
    CameraDrawContext

    The render context.

    Overrides
    CameraRenderPath.CreateNewCameraDrawContext(RenderPipeline, Camera)

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    CameraRenderPath.Destroy()

    Extension Methods

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