Search Results for

    Show / Hide Table of Contents

    Class ForwardDrawContext

    Draw context associated to the deferred render path.

    Inheritance
    object
    DisposableObject
    DrawContext
    CameraDrawContext
    ForwardDrawContext
    Implements
    IDisposable
    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.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.DrawablesToRender
    DrawContext.ForceBlitAlphaBlending
    DrawContext.ID
    DrawContext.IsMultiview
    DrawContext.IsGammaColorSpace
    DrawContext.DrawContextResources
    DrawContext.CollectMeshSources()
    DrawContext.BeforeCollect()
    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)
    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 ForwardDrawContext : CameraDrawContext, IDisposable

    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

    RenderPipeline.

    CameraRenderPath renderPath

    The render path.

    Camera camera

    The camera.

    Properties

    DistortionPassFrameBuffer

    Gets or sets the DistortionPass.

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

    DistortionPassIsEnabled

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

    Declaration
    public bool DistortionPassIsEnabled { 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 the zprepass enabled.

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

    Methods

    CollectBatch(ref RenderBatch)

    Collect a batch.

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

    The batch info to be collected.

    Overrides
    DrawContext.CollectBatch(ref RenderBatch)

    CollectBatches()

    Collect 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 could batch this 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 all is OK.

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

    Destroy()

    Destroy the resources.

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

    GetPassFramebuffer(int)

    Gets the framebuffer associated to 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

    Texture semantic.

    int textureIndex

    Texture index.

    Returns
    Type Description
    Texture

    The found texture.

    Overrides
    CameraDrawContext.GetTexture(TextureInfo.TextureSemantic, int)

    SetPerViewEngineParameters()

    Collect shader resources per view.

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

    Implements

    IDisposable

    Extension Methods

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