Search Results for

    Show / Hide Table of Contents

    Class CameraRenderPath

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

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

    Constructors

    CameraRenderPath(RenderManager)

    Initializes a new instance of the CameraRenderPath class.

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

    The rendering manager.

    Fields

    RenderToFrameBuffer

    Render to Frame Buffer.

    Declaration
    protected RenderToFrameBuffer RenderToFrameBuffer
    Field Value
    Type Description
    RenderToFrameBuffer

    Methods

    CameraRender(CameraDrawContext, CommandBuffer)

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

    CreateNewCameraDrawContext(RenderPipeline, Camera)

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

    Destroys all resources of this instance.

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

    RegisterDrawContext(CameraDrawContext)

    Registers the draw context.

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

    The draw 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)

    RenderPassesInternal(DrawContext, CommandBuffer)

    Renders all passes.

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

    The drawing context.

    CommandBuffer commandBuffer

    The command buffer.

    Overrides
    RenderPath.RenderPassesInternal(DrawContext, CommandBuffer)

    UnregisterDrawContext(CameraDrawContext)

    Unregisters the draw context.

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

    The draw context.

    Extension Methods

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