brutal/Brutal.Glfw/Generated/Glfw.Structs.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

59 lines
1.4 KiB
C#

// <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;
}
}