Class RenderMeshSystemV2
Renders all Entities containing both RenderMesh and LocalToWorld components.
Inherited Members
Unity.Entities.JobComponentSystem.OnCreateForCompiler()
Unity.Entities.ComponentSystemBase.GetComponentTypeHandle<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetDynamicComponentTypeHandle(Unity.Entities.ComponentType)
Unity.Entities.ComponentSystemBase.GetBufferTypeHandle<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetSharedComponentTypeHandle<T>()
Unity.Entities.ComponentSystemBase.GetEntityTypeHandle()
Unity.Entities.ComponentSystemBase.ExecutingSystemType
Namespace: Unity.Rendering
Syntax
[ExecuteAlways]
public class RenderMeshSystemV2 : JobComponentSystem
Methods
CacheMeshBatchRendererGroup(FrozenRenderSceneTag, NativeArray<ArchetypeChunk>, Int32)
Declaration
public void CacheMeshBatchRendererGroup(FrozenRenderSceneTag tag, NativeArray<ArchetypeChunk> chunks, int chunkCount)
Parameters
Type | Name | Description |
---|---|---|
FrozenRenderSceneTag | tag | |
NativeArray<ArchetypeChunk> | chunks | |
Int32 | chunkCount |
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnUpdate(JobHandle)
Declaration
protected override JobHandle OnUpdate(JobHandle inputDeps)
Parameters
Type | Name | Description |
---|---|---|
JobHandle | inputDeps |
Returns
Type | Description |
---|---|
JobHandle |