Search Results for

    Show / Hide Table of Contents

    Class DynamicBatchMeshProcessor

    Represents the dynamic batch processor.

    Inheritance
    object
    MeshProcessor
    BatcherMeshProcessor
    DynamicBatchMeshProcessor
    Inherited Members
    BatcherMeshProcessor.CouldRenderObject(RenderObjectInfo)
    BatcherMeshProcessor.CouldBatch(RenderObjectInfo, RenderObjectInfo)
    BatcherMeshProcessor.Reset()
    BatcherMeshProcessor.EmitBatch(int, int, DrawContext, MeshProcessor.RenderObjectInfoAccessor)
    BatcherMeshProcessor.Collect()
    BatcherMeshProcessor.Destroy()
    MeshProcessor.GraphicsContext
    MeshProcessor.RenderManager
    MeshProcessor.IsActivated
    MeshProcessor.Initialize()
    MeshProcessor.Dispose()
    Namespace: Evergine.Framework.Graphics.Batchers
    Assembly: Evergine.Framework.dll
    Syntax
    public class DynamicBatchMeshProcessor : BatcherMeshProcessor

    Constructors

    DynamicBatchMeshProcessor()

    Initializes a new instance of the DynamicBatchMeshProcessor class.

    Declaration
    public DynamicBatchMeshProcessor()

    DynamicBatchMeshProcessor(int)

    Initializes a new instance of the DynamicBatchMeshProcessor class.

    Declaration
    public DynamicBatchMeshProcessor(int meshSizeLimit)
    Parameters
    Type Name Description
    int meshSizeLimit

    The mesh size limit.

    Fields

    MeshSizeLimit

    The mesh size limit.

    Declaration
    public int MeshSizeLimit
    Field Value
    Type Description
    int

    Properties

    Priority

    Gets the priority of this processor. Processors with higher values will be executed earlier.

    Declaration
    public override float Priority { get; }
    Property Value
    Type Description
    float
    Overrides
    MeshProcessor.Priority

    Methods

    CheckMeshRequirements(RenderMeshInfo)

    Checks the requirements of a mesh to be batched with others.

    Declaration
    protected override bool CheckMeshRequirements(RenderMeshInfo meshInfo)
    Parameters
    Type Name Description
    RenderMeshInfo meshInfo

    The mesh info.

    Returns
    Type Description
    bool

    True if all is OK.

    Overrides
    BatcherMeshProcessor.CheckMeshRequirements(RenderMeshInfo)

    Extension Methods

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