Class InstancedRenderMeshBatchGroup
Inheritance
InstancedRenderMeshBatchGroup
Syntax
public class InstancedRenderMeshBatchGroup
Constructors
InstancedRenderMeshBatchGroup(EntityManager, ComponentSystemBase, EntityQuery)
Declaration
public InstancedRenderMeshBatchGroup(EntityManager entityManager, ComponentSystemBase componentSystem, EntityQuery cullingJobDependencyGroup)
Parameters
Type |
Name |
Description |
EntityManager |
entityManager |
|
ComponentSystemBase |
componentSystem |
|
EntityQuery |
cullingJobDependencyGroup |
|
Fields
LastUpdatedOrderVersion
Declaration
public int LastUpdatedOrderVersion
Field Value
Methods
AddBatch(FrozenRenderSceneTag, Int32, Int32, NativeArray<ArchetypeChunk>, NativeArray<Int32>, Int32, Int32, Boolean, EditorRenderData)
Declaration
public void AddBatch(FrozenRenderSceneTag tag, int rendererSharedComponentIndex, int batchInstanceCount, NativeArray<ArchetypeChunk> chunks, NativeArray<int> sortedChunkIndices, int startSortedIndex, int chunkCount, bool flippedWinding, EditorRenderData data)
Parameters
Type |
Name |
Description |
FrozenRenderSceneTag |
tag |
|
Int32 |
rendererSharedComponentIndex |
|
Int32 |
batchInstanceCount |
|
NativeArray<ArchetypeChunk> |
chunks |
|
NativeArray<Int32> |
sortedChunkIndices |
|
Int32 |
startSortedIndex |
|
Int32 |
chunkCount |
|
Boolean |
flippedWinding |
|
EditorRenderData |
data |
|
AllocLocalId()
Declaration
public int AllocLocalId()
Returns
BeginBatchGroup()
Declaration
public void BeginBatchGroup()
Clear()
Declaration
CompleteJobs()
Declaration
public void CompleteJobs()
Dispose()
Declaration
EndBatchGroup(FrozenRenderSceneTag, NativeArray<ArchetypeChunk>, NativeArray<Int32>)
Declaration
public void EndBatchGroup(FrozenRenderSceneTag tag, NativeArray<ArchetypeChunk> chunks, NativeArray<int> sortedChunkIndices)
Parameters
FreeLocalId(Int32)
Declaration
public void FreeLocalId(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
OnPerformCulling(BatchRendererGroup, BatchCullingContext)
Declaration
public JobHandle OnPerformCulling(BatchRendererGroup rendererGroup, BatchCullingContext cullingContext)
Parameters
Type |
Name |
Description |
BatchRendererGroup |
rendererGroup |
|
BatchCullingContext |
cullingContext |
|
Returns
Type |
Description |
JobHandle |
|
RemoveTag(FrozenRenderSceneTag)
Declaration
public void RemoveTag(FrozenRenderSceneTag tag)
Parameters
ResetLod()
Declaration