Search Results for

    Show / Hide Table of Contents

    Class ForwardGBufferPass

    GBuffer pass.

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

    Constructors

    ForwardGBufferPass(ForwardRenderPath, int)

    Initializes a new instance of the ForwardGBufferPass class.

    Declaration
    public ForwardGBufferPass(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