Search Results for

    Show / Hide Table of Contents

    Class CameraRenderPath

    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.

    Inheritance
    object
    DisposableObject
    RenderPath
    CameraRenderPath
    ForwardRenderPath
    Implements
    IDisposable
    Inherited Members
    RenderPath.passes
    RenderPath.passesToRender
    RenderPath.Passes
    RenderPath.PassesToRender
    RenderPath.DefaultPathId
    RenderPath.RenderManager
    RenderPath.RenderPipeline
    RenderPath.GraphicsPresenter
    RenderPath.GraphicsContext
    RenderPath.AdditionalEffectDirectives
    RenderPath.Collect(DrawContext)
    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 abstract class CameraRenderPath : RenderPath, IDisposable

    Constructors

    CameraRenderPath(RenderManager)

    Initializes a new instance of the CameraRenderPath class.

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

    The render manager.

    Fields

    RenderToFrameBuffer

    Render to Framebuffer.

    Declaration
    protected RenderToFrameBuffer RenderToFrameBuffer
    Field Value
    Type Description
    RenderToFrameBuffer

    Methods

    CameraRender(CameraDrawContext, CommandBuffer)

    Render this scene.

    Declaration
    protected abstract 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.

    CreateNewCameraDrawContext(RenderPipeline, Camera)

    Create a new draw context.

    Declaration
    public virtual 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.

    Destroy()

    Destroy all resources of this instance.

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

    RegisterDrawContext(CameraDrawContext)

    Register the draw context.

    Declaration
    public virtual void RegisterDrawContext(CameraDrawContext drawContext)
    Parameters
    Type Name Description
    CameraDrawContext drawContext

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

    RenderPassesInternal(DrawContext, CommandBuffer)

    Render all passes.

    Declaration
    protected override void RenderPassesInternal(DrawContext drawContext, CommandBuffer commandBuffer)
    Parameters
    Type Name Description
    DrawContext drawContext

    The draw context.

    CommandBuffer commandBuffer

    The command buffer.

    Overrides
    RenderPath.RenderPassesInternal(DrawContext, CommandBuffer)

    UnregisterDrawContext(CameraDrawContext)

    Unregister the draw context.

    Declaration
    public virtual void UnregisterDrawContext(CameraDrawContext cameraDrawContext)
    Parameters
    Type Name Description
    CameraDrawContext cameraDrawContext

    The draw context.

    Implements

    IDisposable

    Extension Methods

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