Search Results for

    Show / Hide Table of Contents

    Class ForwardDrawContext

    Draws context associated with the deferred render path.

    Inheritance
    object
    DisposableObject
    DrawContext
    CameraDrawContext
    ForwardDrawContext
    Inherited Members
    CameraDrawContext.settings
    CameraDrawContext.Camera
    CameraDrawContext.CameraRenderPath
    CameraDrawContext.BoundingFrustum
    CameraDrawContext.CullingSystem
    CameraDrawContext.ClearFlags
    CameraDrawContext.ClearValue
    CameraDrawContext.AutoExposure
    CameraDrawContext.ComputeDepthBounds
    CameraDrawContext.BackgroundColor
    CameraDrawContext.TemporalHistory
    CameraDrawContext.ScreenViewport
    CameraDrawContext.View
    CameraDrawContext.ViewInverse
    CameraDrawContext.Projection
    CameraDrawContext.UnjitteredProjection
    CameraDrawContext.ProjectionInverse
    CameraDrawContext.RenderProjection
    CameraDrawContext.RenderViewProjection
    CameraDrawContext.ViewProjection
    CameraDrawContext.UnjitteredViewProjection
    CameraDrawContext.ViewIndex
    CameraDrawContext.ViewCount
    CameraDrawContext.Position
    CameraDrawContext.NearPlane
    CameraDrawContext.FarPlane
    CameraDrawContext.Transform
    CameraDrawContext.PreviousViewProjection
    CameraDrawContext.ViewProjectionInverse
    CameraDrawContext.MultiviewEyeCount
    CameraDrawContext.MultiviewInstancingCount
    CameraDrawContext.MultiviewProjection
    CameraDrawContext.MultiviewView
    CameraDrawContext.MultiviewViewProjection
    CameraDrawContext.MultiviewProjectionInverse
    CameraDrawContext.MultiviewPosition
    CameraDrawContext.Jitter
    CameraDrawContext.PreviousJitter
    CameraDrawContext.FocalDistance
    CameraDrawContext.FocalLength
    CameraDrawContext.Aperture
    CameraDrawContext.Exposure
    CameraDrawContext.AnyPostProcessingInLastFrame
    CameraDrawContext.TemporalAntiAliasingEnabled
    CameraDrawContext.BeforeCollect()
    CameraDrawContext.BeforeRender()
    CameraDrawContext.Render(CommandBuffer)
    CameraDrawContext.ProcessAutoExposure()
    CameraDrawContext.ProcessAutoDepthBounds()
    CameraDrawContext.ProcessFrameBuffer()
    CameraDrawContext.FilterObjects(RenderObjectInfo)
    CameraDrawContext.GenerateTemporalHistoryTexture()
    CameraDrawContext.GetAdditionalDirectives()
    DrawContext.ElapsedTime
    DrawContext.TotalTime
    DrawContext.FrameCount
    DrawContext.RenderPipeline
    DrawContext.RenderPath
    DrawContext.CullingResult
    DrawContext.MultiviewStrategy
    DrawContext.AdditionalEffectDirectives
    DrawContext.passCount
    DrawContext.OnFrameBufferProcessed
    DrawContext.OnCollect
    DrawContext.OnPreRender
    DrawContext.OnPostRender
    DrawContext.EffectAutoParamSource
    DrawContext.drawContextGeneration
    DrawContext.RenderManager
    DrawContext.FrameBuffer
    DrawContext.HighResolutionIntermediateFrameBuffer
    DrawContext.LowResolutionIntermediateFrameBuffer
    DrawContext.SuperResolutionEnabled
    DrawContext.SuperResolutionScaleFactor
    DrawContext.IntermediateFrameBuffer
    DrawContext.RenderFramebuffer
    DrawContext.DrawContextGeneration
    DrawContext.ForceBlitAlphaBlending
    DrawContext.ID
    DrawContext.IsMultiview
    DrawContext.IsGammaColorSpace
    DrawContext.DrawContextResources
    DrawContext.CollectMeshSources()
    DrawContext.Collect()
    DrawContext.RenderBatches(int, CommandBuffer)
    DrawContext.RenderBatches(int, CommandBuffer, int, int)
    DrawContext.PrepareBatches(CommandBuffer)
    DrawContext.PrepareBatches(CommandBuffer, int, int)
    DrawContext.ProcessDrawables()
    DrawContext.CullObjects()
    DrawContext.CullLights()
    DrawContext.SortObjects()
    DrawContext.EmitBatch(ref RenderBatch)
    DrawContext.CollectMaterials()
    DrawContext.RefreshAdditionalDirectives()
    DrawContext.FireOnFrameBufferProcessed()
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class ForwardDrawContext : CameraDrawContext

    Constructors

    ForwardDrawContext(RenderPipeline, CameraRenderPath, Camera)

    Initializes a new instance of the ForwardDrawContext class.

    Declaration
    public ForwardDrawContext(RenderPipeline renderPipeline, CameraRenderPath renderPath, Camera camera)
    Parameters
    Type Name Description
    RenderPipeline renderPipeline

    The render pipeline.

    CameraRenderPath renderPath

    The render path.

    Camera camera

    The camera.

    Properties

    GBufferPassFrameBuffer

    Gets or sets the GBufferPass.

    Declaration
    public FrameBuffer GBufferPassFrameBuffer { get; protected set; }
    Property Value
    Type Description
    FrameBuffer

    GBufferPassIsEnabled

    Gets or sets a value indicating whether this draw context has the GBuffer pass enabled.

    Declaration
    public bool GBufferPassIsEnabled { get; set; }
    Property Value
    Type Description
    bool

    ZPrePassFrameBuffer

    Gets or sets the ZPrePass.

    Declaration
    public FrameBuffer ZPrePassFrameBuffer { get; protected set; }
    Property Value
    Type Description
    FrameBuffer

    ZPrePassIsEnabled

    Gets or sets a value indicating whether this draw context has Z-prepass enabled.

    Declaration
    public bool ZPrePassIsEnabled { get; set; }
    Property Value
    Type Description
    bool

    Methods

    CollectBatch(ref RenderBatch)

    Collects a batch.

    Declaration
    public override void CollectBatch(ref RenderBatch batch)
    Parameters
    Type Name Description
    RenderBatch batch

    The batch information to be collected.

    Overrides
    DrawContext.CollectBatch(ref RenderBatch)

    CollectBatches()

    Collects render batches from the visible meshes.

    Declaration
    protected override void CollectBatches()
    Overrides
    DrawContext.CollectBatches()

    CouldBatch(int, RenderObjectInfo, int, RenderObjectInfo)

    Method that indicates if this drawContext can batch these meshes.

    Declaration
    protected override bool CouldBatch(int idxA, RenderObjectInfo meshA, int idxB, RenderObjectInfo meshB)
    Parameters
    Type Name Description
    int idxA

    Mesh Index A.

    RenderObjectInfo meshA

    Mesh A.

    int idxB

    Mesh Index B.

    RenderObjectInfo meshB

    Mesh B.

    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    DrawContext.CouldBatch(int, RenderObjectInfo, int, RenderObjectInfo)

    Destroy()

    Destroys the resources.

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

    GetPassFramebuffer(int)

    Gets the framebuffer associated with the specified pass.

    Declaration
    public override FrameBuffer GetPassFramebuffer(int passID)
    Parameters
    Type Name Description
    int passID

    The pass ID.

    Returns
    Type Description
    FrameBuffer

    The framebuffer.

    Overrides
    DrawContext.GetPassFramebuffer(int)

    GetTexture(TextureSemantic, int)

    Gets the texture.

    Declaration
    public override Texture GetTexture(TextureInfo.TextureSemantic textureSemantic, int textureIndex)
    Parameters
    Type Name Description
    TextureInfo.TextureSemantic textureSemantic

    The texture semantic.

    int textureIndex

    The texture index.

    Returns
    Type Description
    Texture

    The located texture.

    Overrides
    CameraDrawContext.GetTexture(TextureInfo.TextureSemantic, int)

    SetPerViewEngineParameters()

    Collects shader resources per view.

    Declaration
    protected override void SetPerViewEngineParameters()
    Overrides
    CameraDrawContext.SetPerViewEngineParameters()

    Extension Methods

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