mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
using Brutal.Pointers;
|
||||
|
||||
namespace Brutal.MeshOptimizer
|
||||
{
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public unsafe partial struct MeshOptOverdrawStatistics
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int PixelsCovered;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public int PixelsShaded;
|
||||
|
||||
/// shaded pixels / covered pixels; best case 1.0
|
||||
[FieldOffset(8)]
|
||||
public float Overdraw;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue