feat: translate clusterlod to C# and restructure to Ghost.Graphics.Meshlet
This commit is contained in:
16
src/Runtime/Ghost.Graphics/Meshlet/ClodMesh.cs
Normal file
16
src/Runtime/Ghost.Graphics/Meshlet/ClodMesh.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Ghost.Graphics.Meshlet;
|
||||
|
||||
public unsafe struct ClodMesh
|
||||
{
|
||||
public uint* indices;
|
||||
public nuint indexCount;
|
||||
public nuint vertexCount;
|
||||
public float* vertexPositions;
|
||||
public nuint vertexPositionsStride;
|
||||
public float* vertexAttributes;
|
||||
public nuint vertexAttributesStride;
|
||||
public byte* vertexLock;
|
||||
public float* attributeWeights;
|
||||
public nuint attributeCount;
|
||||
public uint attributeProtectMask;
|
||||
}
|
||||
Reference in New Issue
Block a user