Chunking
Description
- Derived from
-
BatchRendererBase<ChunkingBatch> abstract
IMeshBoundMinSize
IMeshBoundDistance
The Chunking class traverses the filtered mesh (see IMeshFilters.FilterIn), generates zero or more ChunkingBatch values for each mesh sector, and puts an explicit mark on it (see MeshTree.SectorMark), if it has at least one batch.
The following vertex data semantics are used by this class:
-
required : Semantic.Position
-
required : Semantic.Radius
-
required : Semantic.Area
-
optional : Semantic.MaterialMask
Public / Attributes
FilterIn
The mesh tree input filter to use for querying sector culling and marks.
The default value is null
(i.e. all mesh sectors are visited).
MaterialGroups
The material groups to use for generating chunked batches.
Each group is defined as a material mask (see Semantic.MaterialMask). Chunks will be generated separately for each material group.