mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
59
brutal.glfw/Brutal.Glfw/Generated/Glfw.Structs.gen.cs
Normal file
59
brutal.glfw/Brutal.Glfw/Generated/Glfw.Structs.gen.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue