Search Results for

    Show / Hide Table of Contents

    Class ForwardRenderPath

    Forward path.

    Inheritance
    object
    DisposableObject
    RenderPath
    CameraRenderPath
    ForwardRenderPath
    Implements
    IDisposable
    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.RenderManager
    RenderPath.RenderPipeline
    RenderPath.GraphicsPresenter
    RenderPath.GraphicsContext
    RenderPath.AdditionalEffectDirectives
    RenderPath.RenderPasses(DrawContext, CommandBuffer)
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class ForwardRenderPath : CameraRenderPath, IDisposable

    Constructors

    ForwardRenderPath(RenderManager)

    Initializes a new instance of the ForwardRenderPath class.

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

    The render manager.

    Fields

    DistortionPassIsEnabled

    Indicates whether the Distortion pass is available.

    Declaration
    public bool DistortionPassIsEnabled
    Field Value
    Type Description
    bool

    Forward_Default

    The forward pass index.

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

    Forward_Distortion

    The Distortion pass index.

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

    Forward_ZPrePass

    The ZPrepass index.

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

    ZPrePassIsEnabled

    Indicates if 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 pass.

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

    Methods

    CameraRender(CameraDrawContext, CommandBuffer)

    Render 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 context.

    Overrides
    CameraRenderPath.CameraRender(CameraDrawContext, CommandBuffer)

    Collect(DrawContext)

    Collect data to perform draw.

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

    The context to draw.

    Overrides
    RenderPath.Collect(DrawContext)

    CreateNewCameraDrawContext(RenderPipeline, Camera)

    Create 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()

    Destroy all resources of this instance.

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

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX