Search Results for

    Show / Hide Table of Contents

    Class DefaultRenderPipeline

    Default render pipeline.

    Inheritance
    object
    DisposableObject
    RenderPipeline
    DefaultRenderPipeline
    Inherited Members
    RenderPipeline.Clock
    RenderPipeline.RenderManager
    RenderPipeline.OnPreRender
    RenderPipeline.OnPostRender
    RenderPipeline.OnCameraRender
    RenderPipeline.PerSceneCBufferCollection
    RenderPipeline.BaseInitialize(RenderManager)
    RenderPipeline.PreparingNextFrame()
    RenderPipeline.FireOnCameraRender(DrawContext)
    RenderPipeline.FireOnPreRender()
    RenderPipeline.FireOnPostRender()
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class DefaultRenderPipeline : RenderPipeline

    Fields

    assetsService

    The asset service.

    Declaration
    protected AssetsService assetsService
    Field Value
    Type Description
    AssetsService

    cameraDrawContextList

    Camera draw context list.

    Declaration
    protected List<CameraDrawContext> cameraDrawContextList
    Field Value
    Type Description
    List<CameraDrawContext>

    lightDrawContextList

    Light draw context list.

    Declaration
    protected List<LightDrawContext> lightDrawContextList
    Field Value
    Type Description
    List<LightDrawContext>

    Properties

    AdditionalEffectDirectives

    Gets the additional effects directives specified by this pipeline.

    Declaration
    public override List<string> AdditionalEffectDirectives { get; }
    Property Value
    Type Description
    List<string>
    Overrides
    RenderPipeline.AdditionalEffectDirectives

    DFGLut

    Gets the DFG LUT used for IBL.

    Declaration
    public Texture DFGLut { get; }
    Property Value
    Type Description
    Texture

    DefaultRenderPath

    Gets the default rendering path.

    Declaration
    public override CameraRenderPath DefaultRenderPath { get; }
    Property Value
    Type Description
    CameraRenderPath
    Overrides
    RenderPipeline.DefaultRenderPath

    LightRenderPath

    Gets the light render path.

    Declaration
    public LightRenderPath LightRenderPath { get; }
    Property Value
    Type Description
    LightRenderPath

    ShadowMapProvider

    Gets the shadow map provider.

    Declaration
    public ShadowMapProvider ShadowMapProvider { get; }
    Property Value
    Type Description
    ShadowMapProvider

    SupportedRenderPaths

    Gets the supported render path.

    Declaration
    public override IReadOnlyList<CameraRenderPath> SupportedRenderPaths { get; }
    Property Value
    Type Description
    IReadOnlyList<CameraRenderPath>
    Overrides
    RenderPipeline.SupportedRenderPaths

    Methods

    AddCamera(Camera)

    Adds a camera.

    Declaration
    public override void AddCamera(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    The camera.

    Overrides
    RenderPipeline.AddCamera(Camera)

    AddLight(Light)

    Adds a light.

    Declaration
    public override void AddLight(Light light)
    Parameters
    Type Name Description
    Light light

    The light.

    Overrides
    RenderPipeline.AddLight(Light)

    AddRenderPath(CameraRenderPath)

    Adds a render path.

    Declaration
    public override void AddRenderPath(CameraRenderPath renderPath)
    Parameters
    Type Name Description
    CameraRenderPath renderPath

    The render path.

    Overrides
    RenderPipeline.AddRenderPath(CameraRenderPath)

    Destroy()

    Destroys all resources of this instance.

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

    Initialize()

    Initializes the Render Pipeline.

    Declaration
    protected override void Initialize()
    Overrides
    RenderPipeline.Initialize()

    RemoveCamera(Camera)

    Removes a camera.

    Declaration
    public override void RemoveCamera(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    The camera.

    Overrides
    RenderPipeline.RemoveCamera(Camera)

    RemoveLight(Light)

    Removes a light.

    Declaration
    public override void RemoveLight(Light light)
    Parameters
    Type Name Description
    Light light

    The light.

    Overrides
    RenderPipeline.RemoveLight(Light)

    RemoveRenderPath(CameraRenderPath)

    Removes the render path.

    Declaration
    public override bool RemoveRenderPath(CameraRenderPath renderPath)
    Parameters
    Type Name Description
    CameraRenderPath renderPath

    The render path.

    Returns
    Type Description
    bool

    True if it has been removed successfully.

    Overrides
    RenderPipeline.RemoveRenderPath(CameraRenderPath)

    Render(TimeSpan)

    Renders this scene.

    Declaration
    public override void Render(TimeSpan gameTime)
    Parameters
    Type Name Description
    TimeSpan gameTime

    The game time.

    Overrides
    RenderPipeline.Render(TimeSpan)

    RenderSingleCamera(CameraDrawContext)

    Renders a single camera context.

    Declaration
    public virtual void RenderSingleCamera(CameraDrawContext cameraContext)
    Parameters
    Type Name Description
    CameraDrawContext cameraContext

    The camera context.

    Extension Methods

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