mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
59 lines
1.4 KiB
C#
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;
|
|
}
|
|
}
|