Class DynamicBatchMeshProcessor
Represents the dynamic batch processor.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics.Batchers
Assembly: Evergine.Framework.dll
Syntax
public class DynamicBatchMeshProcessor : BatcherMeshProcessor, IDisposable
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
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. |