Table of Contents

Class StarsDecorationJobified

Namespace
Root
Assembly
SPZGameAssembly.dll
public class StarsDecorationJobified : IChunkedDecoration
Inheritance
object
StarsDecorationJobified
Implements
Extension Methods

Constructors

StarsDecorationJobified(SpaceThemeBackgroundStarsResources, GraphicSettings)

public StarsDecorationJobified(SpaceThemeBackgroundStarsResources resources, GraphicSettings graphicSettings)

Parameters

resources SpaceThemeBackgroundStarsResources
graphicSettings GraphicSettings

Fields

LazyCombinedMeshPerChunkPerMaterial

protected NativeParallelHashMap<ChunkMaterialTuple, LazyMeshId> LazyCombinedMeshPerChunkPerMaterial

Field Value

NativeParallelHashMap<ChunkMaterialTuple, LazyMeshId>

Properties

BackgroundChunkDecorationConfig

public BackgroundChunkDecorationConfig BackgroundChunkDecorationConfig { get; }

Property Value

BackgroundChunkDecorationConfig

MaxInstances

public int MaxInstances { get; }

Property Value

int

ShouldDraw

public bool ShouldDraw { get; }

Property Value

bool

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 renderer)

Parameters

renderer IBatchRenderer

ScheduleDecorationDraw(FrameDrawOptionsNoLOD, NativeParallelHashSet<BackgroundChunkData>, NativeMultiDictionary<MeshMaterialID, BatchInstance>, Camera, NativeArray<Plane>, float, ref JobHandle)

public void ScheduleDecorationDraw(FrameDrawOptionsNoLOD drawOptions, NativeParallelHashSet<BackgroundChunkData> seenChunks, NativeMultiDictionary<MeshMaterialID, BatchInstance> instances, Camera camera, NativeArray<Plane> cullingPlanes, float animationSimulationTime_G, ref JobHandle dependencies)

Parameters

drawOptions FrameDrawOptionsNoLOD
seenChunks NativeParallelHashSet<BackgroundChunkData>
instances NativeMultiDictionary<MeshMaterialID, BatchInstance>
camera Camera
cullingPlanes NativeArray<Plane>
animationSimulationTime_G float
dependencies JobHandle