riversong code showcase
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public class ChunkGenerationJobState
|
||||
{
|
||||
public int Lod;
|
||||
|
||||
public List<TerrainChunk> Chunks = new();
|
||||
|
||||
public List<Mesh> Meshes = new();
|
||||
|
||||
public Mesh.MeshDataArray MeshDataArray;
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
Lod = 0;
|
||||
Chunks.Clear();
|
||||
Meshes.Clear();
|
||||
MeshDataArray = default;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user