Search Results for

    Show / Hide Table of Contents

    Class ForwardZPrePass

    Deferred path.

    Inheritance
    object
    RenderPass
    ForwardZPrePass
    Inherited Members
    RenderPass.Name
    RenderPass.PassIndex
    RenderPass.RenderPath
    RenderPass.RenderManager
    RenderPass.GraphicsPresenter
    RenderPass.GraphicsContext
    RenderPass.Dispose()
    RenderPass.Destroy()
    RenderPass.RenderBatches(DrawContext, CommandBuffer, ref RenderPassDescription)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class ForwardZPrePass : RenderPass

    Constructors

    ForwardZPrePass(ForwardRenderPath, int)

    Initializes a new instance of the ForwardZPrePass class.

    Declaration
    public ForwardZPrePass(ForwardRenderPath renderPath, int passIndex)
    Parameters
    Type Name Description
    ForwardRenderPath renderPath

    The render path.

    int passIndex

    The pass index.

    Methods

    CheckBatch(DrawContext, ref RenderBatch)

    Check if the specified batch is suitable to render this pass.

    Declaration
    public override bool CheckBatch(DrawContext drawContext, ref RenderBatch batch)
    Parameters
    Type Name Description
    DrawContext drawContext

    The draw context.

    RenderBatch batch

    The batch.

    Returns
    Type Description
    bool

    True if this object can be rendered.

    Overrides
    RenderPass.CheckBatch(DrawContext, ref RenderBatch)
    Remarks

    By default, the only requirement is that the batch has a material defined with that layer.

    Render(DrawContext, CommandBuffer)

    Renders this scene.

    Declaration
    public override void Render(DrawContext drawContext, CommandBuffer commandBuffer)
    Parameters
    Type Name Description
    DrawContext drawContext

    The context for drawing.

    CommandBuffer commandBuffer

    The command buffer.

    Overrides
    RenderPass.Render(DrawContext, CommandBuffer)

    Extension Methods

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