Table of Contents

Class ChunkedDecorationBatchRendererSystem<TDecorationJobified>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class ChunkedDecorationBatchRendererSystem<TDecorationJobified> : IBatchRendererSystem where TDecorationJobified : IChunkedDecoration, IDisposable

Type Parameters

TDecorationJobified
Inheritance
object
ChunkedDecorationBatchRendererSystem<TDecorationJobified>
Implements
Extension Methods

Constructors

ChunkedDecorationBatchRendererSystem(TDecorationJobified)

public ChunkedDecorationBatchRendererSystem(TDecorationJobified decoration)

Parameters

decoration TDecorationJobified

Properties

MaxInstances

public int MaxInstances { get; }

Property Value

int

Methods

Dispose()

public void Dispose()

OnBeforeDraw(FrameDrawOptionsNoLOD, BatchRendererGroup)

public void OnBeforeDraw(FrameDrawOptionsNoLOD drawOptions, BatchRendererGroup brg)

Parameters

drawOptions FrameDrawOptionsNoLOD
brg BatchRendererGroup

RegisterResources(IBatchRenderer)

public void RegisterResources(IBatchRenderer batchRenderer)

Parameters

batchRenderer IBatchRenderer

ScheduleGroupDraw(FrameDrawOptionsNoLOD, in NativeMultiDictionary<MeshMaterialID, BatchInstance>, ref JobHandle)

public void ScheduleGroupDraw(FrameDrawOptionsNoLOD options, in NativeMultiDictionary<MeshMaterialID, BatchInstance> instances, ref JobHandle dependencies)

Parameters

options FrameDrawOptionsNoLOD
instances NativeMultiDictionary<MeshMaterialID, BatchInstance>
dependencies JobHandle