fix: resolve all build errors in Meshlet LOD pipeline
- Use correct UnsafeList constructor (int capacity, Allocator) - Use .Count instead of .Length for UnsafeList - Cast GetUnsafePtr() to typed pointers explicitly - Use Api.meshopt_* constants (not MeshOptApi) for simplify flags - Use meshopt_Meshlet instance methods BuildsFlex/BuildsSpatial - Use correct meshopt_Meshlet field names (vertex_offset, triangle_offset, etc.) - Fix byte constant overflow with unchecked cast in LockBoundary - Add Ghost.MeshOptimizer project reference to Ghost.Graphics.csproj
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using Ghost.MeshOptimizer;
|
||||
using Misaki.HighPerformance;
|
||||
using Misaki.HighPerformance.LowLevel.Collections;
|
||||
using Misaki.HighPerformance.LowLevel;
|
||||
using Misaki.HighPerformance.LowLevel.Buffer;
|
||||
|
||||
namespace Ghost.Graphics.Meshlet;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user