Class StarsDecorationJobified
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class StarsDecorationJobified : IChunkedDecoration
- Inheritance
-
objectStarsDecorationJobified
- Implements
- Extension Methods
Constructors
StarsDecorationJobified(SpaceThemeBackgroundStarsResources, GraphicSettings)
public StarsDecorationJobified(SpaceThemeBackgroundStarsResources resources, GraphicSettings graphicSettings)
Parameters
resourcesSpaceThemeBackgroundStarsResourcesgraphicSettingsGraphicSettings
Fields
LazyCombinedMeshPerChunkPerMaterial
protected NativeParallelHashMap<ChunkMaterialTuple, LazyMeshId> LazyCombinedMeshPerChunkPerMaterial
Field Value
- NativeParallelHashMap<ChunkMaterialTuple, LazyMeshId>
Properties
BackgroundChunkDecorationConfig
public BackgroundChunkDecorationConfig BackgroundChunkDecorationConfig { get; }
Property Value
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
drawOptionsFrameDrawOptionsNoLODbrgBatchRendererGroup
RegisterResources(IBatchRenderer)
public void RegisterResources(IBatchRenderer renderer)
Parameters
rendererIBatchRenderer
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
drawOptionsFrameDrawOptionsNoLODseenChunksNativeParallelHashSet<BackgroundChunkData>instancesNativeMultiDictionary<MeshMaterialID, BatchInstance>cameraCameracullingPlanesNativeArray<Plane>animationSimulationTime_GfloatdependenciesJobHandle