Search Results for

    Show / Hide Table of Contents

    Class PostProcessingGraphRenderUnit

    Render unit used to draw a post-processing graph.

    Inheritance
    object
    RenderUnit
    PostProcessingGraphRenderUnit
    Inherited Members
    RenderUnit.BoundingBox
    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 PostProcessingGraphRenderUnit : RenderUnit

    Constructors

    PostProcessingGraphRenderUnit(PostProcessingGraphProcessor, int)

    Initializes a new instance of the PostProcessingGraphRenderUnit class.

    Declaration
    public PostProcessingGraphRenderUnit(PostProcessingGraphProcessor ppGraphProcessor, int batchId)
    Parameters
    Type Name Description
    PostProcessingGraphProcessor ppGraphProcessor

    Post-processing graph processor instance.

    int batchId

    The batch id.

    Fields

    batchId

    Batch index.

    Declaration
    public int batchId
    Field Value
    Type Description
    int

    Methods

    Collect(DrawContext)

    Collect all the information to be rendered.

    Declaration
    public override void Collect(DrawContext drawContext)
    Parameters
    Type Name Description
    DrawContext drawContext

    The draw context.

    Overrides
    RenderUnit.Collect(DrawContext)

    PassIsAvailable(DrawContext, int)

    Return if the pass is available in this render unit.

    Declaration
    public override bool PassIsAvailable(DrawContext drawContext, int passId)
    Parameters
    Type Name Description
    DrawContext drawContext

    The DrawContext.

    int passId

    The Pass Id.

    Returns
    Type Description
    bool

    True if the pass is available.

    Overrides
    RenderUnit.PassIsAvailable(DrawContext, int)

    Prepare(CommandBuffer, DrawContext)

    Prepare this unit to be rendered.

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

    The command buffer.

    DrawContext drawContext

    The draw context.

    Overrides
    RenderUnit.Prepare(CommandBuffer, DrawContext)

    Render(CommandBuffer, DrawContext, int)

    Render a element, using the specified commandBuffer.

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

    The command buffer.

    DrawContext drawContext

    The draw context.

    int passId

    The pass id.

    Overrides
    RenderUnit.Render(CommandBuffer, DrawContext, int)

    Extension Methods

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