mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
using Brutal.Pointers;
|
||||
|
||||
namespace Brutal.MeshOptimizer
|
||||
{
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public unsafe partial struct MeshOptVertexCacheStatistics
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int VerticesTransformed;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public int WarpsExecuted;
|
||||
|
||||
/// transformed vertices / triangle count; best case 0.5, worst case 3.0, optimum depends on topology
|
||||
[FieldOffset(8)]
|
||||
public float Acmr;
|
||||
|
||||
/// transformed vertices / vertex count; best case 1.0, worst case 6.0, optimum is 1.0 (each vertex is transformed once)
|
||||
[FieldOffset(12)]
|
||||
public float Atvr;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue