This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,59 @@
// <auto-generated/>
// Generated by Brutal.Glfw.Generate; do not edit by hand.
#nullable enable
namespace Brutal.GlfwApi
{
[StructLayout(LayoutKind.Sequential)]
public struct GlfwMonitorHandle { }
[StructLayout(LayoutKind.Sequential)]
public struct GlfwWindowHandle { }
[StructLayout(LayoutKind.Sequential)]
public struct GlfwCursorHandle { }
[StructLayout(LayoutKind.Sequential)]
public struct GlfwVidMode
{
public int Width;
public int Height;
public int RedBits;
public int GreenBits;
public int BlueBits;
public int RefreshRate;
}
[StructLayout(LayoutKind.Sequential)]
public unsafe struct GlfwGammaRamp
{
public unsafe ushort* Red;
public unsafe ushort* Green;
public unsafe ushort* Blue;
public uint Size;
}
[StructLayout(LayoutKind.Sequential)]
public unsafe struct GlfwImage
{
public int Width;
public int Height;
public unsafe byte* Pixels;
}
[StructLayout(LayoutKind.Sequential)]
public unsafe struct GlfwGamepadState
{
public fixed byte Buttons[15];
public fixed float Axes[6];
}
[StructLayout(LayoutKind.Sequential)]
public unsafe struct GlfwAllocator
{
public nint AllocateCallback;
public nint ReallocateCallback;
public nint DeallocateCallback;
public unsafe void* User;
}
}