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:
@@ -30,6 +30,7 @@
|
||||
<ProjectReference Include="..\..\Editor\Ghost.DSL\Ghost.DSL.csproj" />
|
||||
<ProjectReference Include="..\Ghost.Graphics.D3D12\Ghost.Graphics.D3D12.csproj" />
|
||||
<ProjectReference Include="..\Ghost.Graphics.RHI\Ghost.Graphics.RHI.csproj" />
|
||||
<ProjectReference Include="..\..\ThridParty\Ghost.MeshOptimizer\Ghost.MeshOptimizer.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user