brutal/brutal.glfw/Brutal.Glfw/Generated/Glfw.PInvoke.gen.cs
2026-10-15 14:12:02 +13:00

1795 lines
68 KiB
C#

// <auto-generated/>
// Generated by Brutal.Glfw.Generate; do not edit by hand.
#nullable enable
namespace Brutal.GlfwApi
{
public static unsafe partial class Glfw
{
public static partial class PInvoke
{
[LibraryImport(Dll, EntryPoint = "glfwInit")]
private static partial int _Init();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int Init()
{
Log.Trace();
return _Init();
}
[LibraryImport(Dll, EntryPoint = "glfwTerminate")]
private static partial void _Terminate();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Terminate()
{
Log.Trace();
_Terminate();
}
[LibraryImport(Dll, EntryPoint = "glfwInitHint")]
private static partial void _InitHint(int hint, int value);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void InitHint(int hint, int value)
{
Log.Trace();
_InitHint(hint, value);
}
[LibraryImport(Dll, EntryPoint = "glfwInitAllocator")]
private static partial void _InitAllocator(GlfwAllocator* allocator);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void InitAllocator(GlfwAllocator* allocator)
{
Log.Trace();
_InitAllocator(allocator);
}
[LibraryImport(Dll, EntryPoint = "glfwGetVersion")]
private static partial void _GetVersion(out int major, out int minor, out int revision);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetVersion(out int major, out int minor, out int revision)
{
Log.Trace();
_GetVersion(out major, out minor, out revision);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetVersionString",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetVersionString();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetVersionString()
{
Log.Trace();
return _GetVersionString();
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetError",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial int _GetError(out string? description);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetError(out string? description)
{
Log.Trace();
return _GetError(out description);
}
[LibraryImport(Dll, EntryPoint = "glfwSetErrorCallback")]
private static partial GlfwErrorUnmanagedCallback _SetErrorCallback(GlfwErrorUnmanagedCallback callback);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwErrorUnmanagedCallback SetErrorCallback(GlfwErrorUnmanagedCallback callback)
{
Log.Trace();
return _SetErrorCallback(callback);
}
[LibraryImport(Dll, EntryPoint = "glfwGetPlatform")]
private static partial int _GetPlatform();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetPlatform()
{
Log.Trace();
return _GetPlatform();
}
[LibraryImport(Dll, EntryPoint = "glfwPlatformSupported")]
private static partial int _PlatformSupported(int platform);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int PlatformSupported(int platform)
{
Log.Trace();
return _PlatformSupported(platform);
}
[LibraryImport(Dll, EntryPoint = "glfwGetMonitors")]
private static partial GlfwMonitor* _GetMonitors(out int count);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwMonitor* GetMonitors(out int count)
{
Log.Trace();
return _GetMonitors(out count);
}
[LibraryImport(Dll, EntryPoint = "glfwGetPrimaryMonitor")]
private static partial GlfwMonitor _GetPrimaryMonitor();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwMonitor GetPrimaryMonitor()
{
Log.Trace();
return _GetPrimaryMonitor();
}
[LibraryImport(Dll, EntryPoint = "glfwGetMonitorPos")]
private static partial void _GetMonitorPos(GlfwMonitor monitor, out int xPos, out int yPos);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetMonitorPos(GlfwMonitor monitor, out int xPos, out int yPos)
{
Log.Trace();
_GetMonitorPos(monitor, out xPos, out yPos);
}
[LibraryImport(Dll, EntryPoint = "glfwGetMonitorWorkarea")]
private static partial void _GetMonitorWorkArea(
GlfwMonitor monitor,
out int xPos,
out int yPos,
out int width,
out int height
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetMonitorWorkArea(
GlfwMonitor monitor,
out int xPos,
out int yPos,
out int width,
out int height
)
{
Log.Trace();
_GetMonitorWorkArea(monitor, out xPos, out yPos, out width, out height);
}
[LibraryImport(Dll, EntryPoint = "glfwGetMonitorPhysicalSize")]
private static partial void _GetMonitorPhysicalSize(
GlfwMonitor monitor,
out int widthMillimeters,
out int heightMillimeters
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetMonitorPhysicalSize(
GlfwMonitor monitor,
out int widthMillimeters,
out int heightMillimeters
)
{
Log.Trace();
_GetMonitorPhysicalSize(monitor, out widthMillimeters, out heightMillimeters);
}
[LibraryImport(Dll, EntryPoint = "glfwGetMonitorContentScale")]
private static partial void _GetMonitorContentScale(
GlfwMonitor monitor,
out float xScale,
out float yScale
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetMonitorContentScale(GlfwMonitor monitor, out float xScale, out float yScale)
{
Log.Trace();
_GetMonitorContentScale(monitor, out xScale, out yScale);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetMonitorName",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetMonitorName(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetMonitorName(GlfwMonitor monitor)
{
Log.Trace();
return _GetMonitorName(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwSetMonitorUserPointer")]
private static partial void _SetMonitorUserPointer(GlfwMonitor monitor, void* pointer);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetMonitorUserPointer(GlfwMonitor monitor, void* pointer)
{
Log.Trace();
_SetMonitorUserPointer(monitor, pointer);
}
[LibraryImport(Dll, EntryPoint = "glfwGetMonitorUserPointer")]
private static partial void* _GetMonitorUserPointer(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void* GetMonitorUserPointer(GlfwMonitor monitor)
{
Log.Trace();
return _GetMonitorUserPointer(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwSetMonitorCallback")]
private static partial GlfwMonitorUnmanagedCallback _SetMonitorCallback(
GlfwMonitorUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwMonitorUnmanagedCallback SetMonitorCallback(GlfwMonitorUnmanagedCallback callback)
{
Log.Trace();
return _SetMonitorCallback(callback);
}
[LibraryImport(Dll, EntryPoint = "glfwGetVideoModes")]
private static partial GlfwVidMode* _GetVideoModes(GlfwMonitor monitor, out int count);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwVidMode* GetVideoModes(GlfwMonitor monitor, out int count)
{
Log.Trace();
return _GetVideoModes(monitor, out count);
}
[LibraryImport(Dll, EntryPoint = "glfwGetVideoMode")]
private static partial GlfwVidMode* _GetVideoMode(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwVidMode* GetVideoMode(GlfwMonitor monitor)
{
Log.Trace();
return _GetVideoMode(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwSetGamma")]
private static partial void _SetGamma(GlfwMonitor monitor, float gamma);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetGamma(GlfwMonitor monitor, float gamma)
{
Log.Trace();
_SetGamma(monitor, gamma);
}
[LibraryImport(Dll, EntryPoint = "glfwGetGammaRamp")]
private static partial GlfwGammaRamp* _GetGammaRamp(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwGammaRamp* GetGammaRamp(GlfwMonitor monitor)
{
Log.Trace();
return _GetGammaRamp(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwSetGammaRamp")]
private static partial void _SetGammaRamp(GlfwMonitor monitor, GlfwGammaRamp* ramp);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetGammaRamp(GlfwMonitor monitor, GlfwGammaRamp* ramp)
{
Log.Trace();
_SetGammaRamp(monitor, ramp);
}
[LibraryImport(Dll, EntryPoint = "glfwDefaultWindowHints")]
private static partial void _DefaultWindowHints();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void DefaultWindowHints()
{
Log.Trace();
_DefaultWindowHints();
}
[LibraryImport(Dll, EntryPoint = "glfwWindowHint")]
private static partial void _WindowHint(int hint, int value);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void WindowHint(int hint, int value)
{
Log.Trace();
_WindowHint(hint, value);
}
[LibraryImport(
Dll,
EntryPoint = "glfwWindowHintString",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial void _WindowHintString(int hint, string value);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void WindowHintString(int hint, string value)
{
Log.Trace();
_WindowHintString(hint, value);
}
[LibraryImport(Dll, EntryPoint = "glfwDestroyWindow")]
private static partial void _DestroyWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void DestroyWindow(GlfwWindow window)
{
Log.Trace();
_DestroyWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwWindowShouldClose")]
private static partial int _WindowShouldClose(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int WindowShouldClose(GlfwWindow window)
{
Log.Trace();
return _WindowShouldClose(window);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowShouldClose")]
private static partial void _SetWindowShouldClose(GlfwWindow window, int value);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowShouldClose(GlfwWindow window, int value)
{
Log.Trace();
_SetWindowShouldClose(window, value);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetWindowTitle",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetWindowTitle(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetWindowTitle(GlfwWindow window)
{
Log.Trace();
return _GetWindowTitle(window);
}
[LibraryImport(
Dll,
EntryPoint = "glfwSetWindowTitle",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial void _SetWindowTitle(GlfwWindow window, string title);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowTitle(GlfwWindow window, string title)
{
Log.Trace();
_SetWindowTitle(window, title);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowIcon")]
private static partial void _SetWindowIcon(GlfwWindow window, int count, GlfwImage* images);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowIcon(GlfwWindow window, int count, GlfwImage* images)
{
Log.Trace();
_SetWindowIcon(window, count, images);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowPos")]
private static partial void _GetWindowPos(GlfwWindow window, out int xPos, out int yPos);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetWindowPos(GlfwWindow window, out int xPos, out int yPos)
{
Log.Trace();
_GetWindowPos(window, out xPos, out yPos);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowPos")]
private static partial void _SetWindowPos(GlfwWindow window, int xPos, int yPos);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowPos(GlfwWindow window, int xPos, int yPos)
{
Log.Trace();
_SetWindowPos(window, xPos, yPos);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowSize")]
private static partial void _GetWindowSize(GlfwWindow window, out int width, out int height);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetWindowSize(GlfwWindow window, out int width, out int height)
{
Log.Trace();
_GetWindowSize(window, out width, out height);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowSizeLimits")]
private static partial void _SetWindowSizeLimits(
GlfwWindow window,
int minWidth,
int minHeight,
int maxWidth,
int maxHeight
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowSizeLimits(
GlfwWindow window,
int minWidth,
int minHeight,
int maxWidth,
int maxHeight
)
{
Log.Trace();
_SetWindowSizeLimits(window, minWidth, minHeight, maxWidth, maxHeight);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowAspectRatio")]
private static partial void _SetWindowAspectRatio(GlfwWindow window, int numerator, int denominator);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowAspectRatio(GlfwWindow window, int numerator, int denominator)
{
Log.Trace();
_SetWindowAspectRatio(window, numerator, denominator);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowSize")]
private static partial void _SetWindowSize(GlfwWindow window, int width, int height);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowSize(GlfwWindow window, int width, int height)
{
Log.Trace();
_SetWindowSize(window, width, height);
}
[LibraryImport(Dll, EntryPoint = "glfwGetFramebufferSize")]
private static partial void _GetFramebufferSize(GlfwWindow window, out int width, out int height);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetFramebufferSize(GlfwWindow window, out int width, out int height)
{
Log.Trace();
_GetFramebufferSize(window, out width, out height);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowFrameSize")]
private static partial void _GetWindowFrameSize(
GlfwWindow window,
out int left,
out int top,
out int right,
out int bottom
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetWindowFrameSize(
GlfwWindow window,
out int left,
out int top,
out int right,
out int bottom
)
{
Log.Trace();
_GetWindowFrameSize(window, out left, out top, out right, out bottom);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowContentScale")]
private static partial void _GetWindowContentScale(GlfwWindow window, out float xScale, out float yScale);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetWindowContentScale(GlfwWindow window, out float xScale, out float yScale)
{
Log.Trace();
_GetWindowContentScale(window, out xScale, out yScale);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowOpacity")]
private static partial float _GetWindowOpacity(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static float GetWindowOpacity(GlfwWindow window)
{
Log.Trace();
return _GetWindowOpacity(window);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowOpacity")]
private static partial void _SetWindowOpacity(GlfwWindow window, float opacity);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowOpacity(GlfwWindow window, float opacity)
{
Log.Trace();
_SetWindowOpacity(window, opacity);
}
[LibraryImport(Dll, EntryPoint = "glfwIconifyWindow")]
private static partial void _IconifyWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void IconifyWindow(GlfwWindow window)
{
Log.Trace();
_IconifyWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwRestoreWindow")]
private static partial void _RestoreWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void RestoreWindow(GlfwWindow window)
{
Log.Trace();
_RestoreWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwMaximizeWindow")]
private static partial void _MaximizeWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void MaximizeWindow(GlfwWindow window)
{
Log.Trace();
_MaximizeWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwShowWindow")]
private static partial void _ShowWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void ShowWindow(GlfwWindow window)
{
Log.Trace();
_ShowWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwHideWindow")]
private static partial void _HideWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void HideWindow(GlfwWindow window)
{
Log.Trace();
_HideWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwFocusWindow")]
private static partial void _FocusWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void FocusWindow(GlfwWindow window)
{
Log.Trace();
_FocusWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwRequestWindowAttention")]
private static partial void _RequestWindowAttention(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void RequestWindowAttention(GlfwWindow window)
{
Log.Trace();
_RequestWindowAttention(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowMonitor")]
private static partial GlfwMonitor _GetWindowMonitor(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwMonitor GetWindowMonitor(GlfwWindow window)
{
Log.Trace();
return _GetWindowMonitor(window);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowMonitor")]
private static partial void _SetWindowMonitor(
GlfwWindow window,
GlfwMonitor monitor,
int xPos,
int yPos,
int width,
int height,
int refreshRate
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowMonitor(
GlfwWindow window,
GlfwMonitor monitor,
int xPos,
int yPos,
int width,
int height,
int refreshRate
)
{
Log.Trace();
_SetWindowMonitor(window, monitor, xPos, yPos, width, height, refreshRate);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowAttrib")]
private static partial int _GetWindowAttrib(GlfwWindow window, int attrib);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetWindowAttrib(GlfwWindow window, int attrib)
{
Log.Trace();
return _GetWindowAttrib(window, attrib);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowAttrib")]
private static partial void _SetWindowAttrib(GlfwWindow window, int attrib, int value);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowAttrib(GlfwWindow window, int attrib, int value)
{
Log.Trace();
_SetWindowAttrib(window, attrib, value);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowUserPointer")]
private static partial void _SetWindowUserPointer(GlfwWindow window, void* pointer);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetWindowUserPointer(GlfwWindow window, void* pointer)
{
Log.Trace();
_SetWindowUserPointer(window, pointer);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWindowUserPointer")]
private static partial void* _GetWindowUserPointer(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void* GetWindowUserPointer(GlfwWindow window)
{
Log.Trace();
return _GetWindowUserPointer(window);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowPosCallback")]
private static partial GlfwWindowPosUnmanagedCallback _SetWindowPosCallback(
GlfwWindow window,
GlfwWindowPosUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowPosUnmanagedCallback SetWindowPosCallback(
GlfwWindow window,
GlfwWindowPosUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowPosCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowSizeCallback")]
private static partial GlfwWindowSizeUnmanagedCallback _SetWindowSizeCallback(
GlfwWindow window,
GlfwWindowSizeUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowSizeUnmanagedCallback SetWindowSizeCallback(
GlfwWindow window,
GlfwWindowSizeUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowSizeCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowCloseCallback")]
private static partial GlfwWindowCloseUnmanagedCallback _SetWindowCloseCallback(
GlfwWindow window,
GlfwWindowCloseUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowCloseUnmanagedCallback SetWindowCloseCallback(
GlfwWindow window,
GlfwWindowCloseUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowCloseCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowRefreshCallback")]
private static partial GlfwWindowRefreshUnmanagedCallback _SetWindowRefreshCallback(
GlfwWindow window,
GlfwWindowRefreshUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowRefreshUnmanagedCallback SetWindowRefreshCallback(
GlfwWindow window,
GlfwWindowRefreshUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowRefreshCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowFocusCallback")]
private static partial GlfwWindowFocusUnmanagedCallback _SetWindowFocusCallback(
GlfwWindow window,
GlfwWindowFocusUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowFocusUnmanagedCallback SetWindowFocusCallback(
GlfwWindow window,
GlfwWindowFocusUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowFocusCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowIconifyCallback")]
private static partial GlfwWindowIconifyUnmanagedCallback _SetWindowIconifyCallback(
GlfwWindow window,
GlfwWindowIconifyUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowIconifyUnmanagedCallback SetWindowIconifyCallback(
GlfwWindow window,
GlfwWindowIconifyUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowIconifyCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowMaximizeCallback")]
private static partial GlfwWindowMaximizeUnmanagedCallback _SetWindowMaximizeCallback(
GlfwWindow window,
GlfwWindowMaximizeUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowMaximizeUnmanagedCallback SetWindowMaximizeCallback(
GlfwWindow window,
GlfwWindowMaximizeUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowMaximizeCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetFramebufferSizeCallback")]
private static partial GlfwFramebufferSizeUnmanagedCallback _SetFramebufferSizeCallback(
GlfwWindow window,
GlfwFramebufferSizeUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwFramebufferSizeUnmanagedCallback SetFramebufferSizeCallback(
GlfwWindow window,
GlfwFramebufferSizeUnmanagedCallback callback
)
{
Log.Trace();
return _SetFramebufferSizeCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetWindowContentScaleCallback")]
private static partial GlfwWindowContentScaleUnmanagedCallback _SetWindowContentScaleCallback(
GlfwWindow window,
GlfwWindowContentScaleUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwWindowContentScaleUnmanagedCallback SetWindowContentScaleCallback(
GlfwWindow window,
GlfwWindowContentScaleUnmanagedCallback callback
)
{
Log.Trace();
return _SetWindowContentScaleCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwPollEvents")]
private static partial void _PollEvents();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void PollEvents()
{
Log.Trace();
_PollEvents();
}
[LibraryImport(Dll, EntryPoint = "glfwWaitEvents")]
private static partial void _WaitEvents();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void WaitEvents()
{
Log.Trace();
_WaitEvents();
}
[LibraryImport(Dll, EntryPoint = "glfwWaitEventsTimeout")]
private static partial void _WaitEventsTimeout(double timeout);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void WaitEventsTimeout(double timeout)
{
Log.Trace();
_WaitEventsTimeout(timeout);
}
[LibraryImport(Dll, EntryPoint = "glfwPostEmptyEvent")]
private static partial void _PostEmptyEvent();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void PostEmptyEvent()
{
Log.Trace();
_PostEmptyEvent();
}
[LibraryImport(Dll, EntryPoint = "glfwGetInputMode")]
private static partial int _GetInputMode(GlfwWindow window, int mode);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetInputMode(GlfwWindow window, int mode)
{
Log.Trace();
return _GetInputMode(window, mode);
}
[LibraryImport(Dll, EntryPoint = "glfwSetInputMode")]
private static partial void _SetInputMode(GlfwWindow window, int mode, int value);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetInputMode(GlfwWindow window, int mode, int value)
{
Log.Trace();
_SetInputMode(window, mode, value);
}
[LibraryImport(Dll, EntryPoint = "glfwRawMouseMotionSupported")]
private static partial int _RawMouseMotionSupported();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int RawMouseMotionSupported()
{
Log.Trace();
return _RawMouseMotionSupported();
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetKeyName",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetKeyName(int key, int scancode);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetKeyName(int key, int scancode)
{
Log.Trace();
return _GetKeyName(key, scancode);
}
[LibraryImport(Dll, EntryPoint = "glfwGetKeyScancode")]
private static partial int _GetKeyScanCode(int key);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetKeyScanCode(int key)
{
Log.Trace();
return _GetKeyScanCode(key);
}
[LibraryImport(Dll, EntryPoint = "glfwGetKey")]
private static partial int _GetKey(GlfwWindow window, int key);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetKey(GlfwWindow window, int key)
{
Log.Trace();
return _GetKey(window, key);
}
[LibraryImport(Dll, EntryPoint = "glfwGetMouseButton")]
private static partial int _GetMouseButton(GlfwWindow window, int button);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetMouseButton(GlfwWindow window, int button)
{
Log.Trace();
return _GetMouseButton(window, button);
}
[LibraryImport(Dll, EntryPoint = "glfwGetCursorPos")]
private static partial void _GetCursorPos(GlfwWindow window, out double xPos, out double yPos);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void GetCursorPos(GlfwWindow window, out double xPos, out double yPos)
{
Log.Trace();
_GetCursorPos(window, out xPos, out yPos);
}
[LibraryImport(Dll, EntryPoint = "glfwSetCursorPos")]
private static partial void _SetCursorPos(GlfwWindow window, double xPos, double yPos);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetCursorPos(GlfwWindow window, double xPos, double yPos)
{
Log.Trace();
_SetCursorPos(window, xPos, yPos);
}
[LibraryImport(Dll, EntryPoint = "glfwCreateCursor")]
private static partial GlfwCursor _CreateCursor(GlfwImage* image, int xHot, int yHot);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwCursor CreateCursor(GlfwImage* image, int xHot, int yHot)
{
Log.Trace();
return _CreateCursor(image, xHot, yHot);
}
[LibraryImport(Dll, EntryPoint = "glfwCreateStandardCursor")]
private static partial GlfwCursor _CreateStandardCursor(int shape);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwCursor CreateStandardCursor(int shape)
{
Log.Trace();
return _CreateStandardCursor(shape);
}
[LibraryImport(Dll, EntryPoint = "glfwDestroyCursor")]
private static partial void _DestroyCursor(GlfwCursor cursor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void DestroyCursor(GlfwCursor cursor)
{
Log.Trace();
_DestroyCursor(cursor);
}
[LibraryImport(Dll, EntryPoint = "glfwSetCursor")]
private static partial void _SetCursor(GlfwWindow window, GlfwCursor cursor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetCursor(GlfwWindow window, GlfwCursor cursor)
{
Log.Trace();
_SetCursor(window, cursor);
}
[LibraryImport(Dll, EntryPoint = "glfwSetKeyCallback")]
private static partial GlfwKeyUnmanagedCallback _SetKeyCallback(
GlfwWindow window,
GlfwKeyUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwKeyUnmanagedCallback SetKeyCallback(GlfwWindow window, GlfwKeyUnmanagedCallback callback)
{
Log.Trace();
return _SetKeyCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetCharCallback")]
private static partial GlfwCharUnmanagedCallback _SetCharCallback(
GlfwWindow window,
GlfwCharUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwCharUnmanagedCallback SetCharCallback(
GlfwWindow window,
GlfwCharUnmanagedCallback callback
)
{
Log.Trace();
return _SetCharCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetCharModsCallback")]
private static partial GlfwCharModsUnmanagedCallback _SetCharModsCallback(
GlfwWindow window,
GlfwCharModsUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwCharModsUnmanagedCallback SetCharModsCallback(
GlfwWindow window,
GlfwCharModsUnmanagedCallback callback
)
{
Log.Trace();
return _SetCharModsCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetMouseButtonCallback")]
private static partial GlfwMouseButtonUnmanagedCallback _SetMouseButtonCallback(
GlfwWindow window,
GlfwMouseButtonUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwMouseButtonUnmanagedCallback SetMouseButtonCallback(
GlfwWindow window,
GlfwMouseButtonUnmanagedCallback callback
)
{
Log.Trace();
return _SetMouseButtonCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetCursorPosCallback")]
private static partial GlfwCursorPosUnmanagedCallback _SetCursorPosCallback(
GlfwWindow window,
GlfwCursorPosUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwCursorPosUnmanagedCallback SetCursorPosCallback(
GlfwWindow window,
GlfwCursorPosUnmanagedCallback callback
)
{
Log.Trace();
return _SetCursorPosCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetCursorEnterCallback")]
private static partial GlfwCursorEnterUnmanagedCallback _SetCursorEnterCallback(
GlfwWindow window,
GlfwCursorEnterUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwCursorEnterUnmanagedCallback SetCursorEnterCallback(
GlfwWindow window,
GlfwCursorEnterUnmanagedCallback callback
)
{
Log.Trace();
return _SetCursorEnterCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetScrollCallback")]
private static partial GlfwScrollUnmanagedCallback _SetScrollCallback(
GlfwWindow window,
GlfwScrollUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwScrollUnmanagedCallback SetScrollCallback(
GlfwWindow window,
GlfwScrollUnmanagedCallback callback
)
{
Log.Trace();
return _SetScrollCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetScrollDetailCallback")]
private static partial GlfwScrollDetailUnmanagedCallback _SetScrollDetailCallback(
GlfwWindow window,
GlfwScrollDetailUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwScrollDetailUnmanagedCallback SetScrollDetailCallback(
GlfwWindow window,
GlfwScrollDetailUnmanagedCallback callback
)
{
Log.Trace();
return _SetScrollDetailCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetTrackpadZoomCallback")]
private static partial GlfwTrackpadZoomUnmanagedCallback _SetTrackpadZoomCallback(
GlfwWindow window,
GlfwTrackpadZoomUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwTrackpadZoomUnmanagedCallback SetTrackpadZoomCallback(
GlfwWindow window,
GlfwTrackpadZoomUnmanagedCallback callback
)
{
Log.Trace();
return _SetTrackpadZoomCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetTrackpadRotateCallback")]
private static partial GlfwTrackpadRotateUnmanagedCallback _SetTrackpadRotateCallback(
GlfwWindow window,
GlfwTrackpadRotateUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwTrackpadRotateUnmanagedCallback SetTrackpadRotateCallback(
GlfwWindow window,
GlfwTrackpadRotateUnmanagedCallback callback
)
{
Log.Trace();
return _SetTrackpadRotateCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwSetDropCallback")]
private static partial GlfwDropUnmanagedCallback _SetDropCallback(
GlfwWindow window,
GlfwDropUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwDropUnmanagedCallback SetDropCallback(
GlfwWindow window,
GlfwDropUnmanagedCallback callback
)
{
Log.Trace();
return _SetDropCallback(window, callback);
}
[LibraryImport(Dll, EntryPoint = "glfwJoystickPresent")]
private static partial int _JoystickPresent(int joystickId);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int JoystickPresent(int joystickId)
{
Log.Trace();
return _JoystickPresent(joystickId);
}
[LibraryImport(Dll, EntryPoint = "glfwGetJoystickAxes")]
private static partial float* _GetJoystickAxes(int joystickId, out int count);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static float* GetJoystickAxes(int joystickId, out int count)
{
Log.Trace();
return _GetJoystickAxes(joystickId, out count);
}
[LibraryImport(Dll, EntryPoint = "glfwGetJoystickButtons")]
private static partial byte* _GetJoystickButtons(int joystickId, out int count);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static byte* GetJoystickButtons(int joystickId, out int count)
{
Log.Trace();
return _GetJoystickButtons(joystickId, out count);
}
[LibraryImport(Dll, EntryPoint = "glfwGetJoystickHats")]
private static partial byte* _GetJoystickHats(int joystickId, out int count);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static byte* GetJoystickHats(int joystickId, out int count)
{
Log.Trace();
return _GetJoystickHats(joystickId, out count);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetJoystickName",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetJoystickName(int joystickId);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetJoystickName(int joystickId)
{
Log.Trace();
return _GetJoystickName(joystickId);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetJoystickGUID",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetJoystickGuid(int joystickId);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetJoystickGuid(int joystickId)
{
Log.Trace();
return _GetJoystickGuid(joystickId);
}
[LibraryImport(Dll, EntryPoint = "glfwSetJoystickUserPointer")]
private static partial void _SetJoystickUserPointer(int joystickId, void* pointer);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetJoystickUserPointer(int joystickId, void* pointer)
{
Log.Trace();
_SetJoystickUserPointer(joystickId, pointer);
}
[LibraryImport(Dll, EntryPoint = "glfwGetJoystickUserPointer")]
private static partial void* _GetJoystickUserPointer(int joystickId);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void* GetJoystickUserPointer(int joystickId)
{
Log.Trace();
return _GetJoystickUserPointer(joystickId);
}
[LibraryImport(Dll, EntryPoint = "glfwJoystickIsGamepad")]
private static partial int _JoystickIsGamepad(int joystickId);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int JoystickIsGamepad(int joystickId)
{
Log.Trace();
return _JoystickIsGamepad(joystickId);
}
[LibraryImport(Dll, EntryPoint = "glfwSetJoystickCallback")]
private static partial GlfwJoystickUnmanagedCallback _SetJoystickCallback(
GlfwJoystickUnmanagedCallback callback
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static GlfwJoystickUnmanagedCallback SetJoystickCallback(GlfwJoystickUnmanagedCallback callback)
{
Log.Trace();
return _SetJoystickCallback(callback);
}
[LibraryImport(
Dll,
EntryPoint = "glfwUpdateGamepadMappings",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial int _UpdateGamepadMappings(string @string);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int UpdateGamepadMappings(string @string)
{
Log.Trace();
return _UpdateGamepadMappings(@string);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetGamepadName",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetGamepadName(int joystickId);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetGamepadName(int joystickId)
{
Log.Trace();
return _GetGamepadName(joystickId);
}
[LibraryImport(Dll, EntryPoint = "glfwGetGamepadState")]
private static partial int _GetGamepadState(int joystickId, out GlfwGamepadState state);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetGamepadState(int joystickId, out GlfwGamepadState state)
{
Log.Trace();
return _GetGamepadState(joystickId, out state);
}
[LibraryImport(Dll, EntryPoint = "glfwGetTime")]
private static partial double _GetTime();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static double GetTime()
{
Log.Trace();
return _GetTime();
}
[LibraryImport(Dll, EntryPoint = "glfwSetTime")]
private static partial void _SetTime(double time);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetTime(double time)
{
Log.Trace();
_SetTime(time);
}
[LibraryImport(Dll, EntryPoint = "glfwGetTimerValue")]
private static partial ulong _GetTimerValue();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong GetTimerValue()
{
Log.Trace();
return _GetTimerValue();
}
[LibraryImport(Dll, EntryPoint = "glfwGetTimerFrequency")]
private static partial ulong _GetTimerFrequency();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong GetTimerFrequency()
{
Log.Trace();
return _GetTimerFrequency();
}
[LibraryImport(Dll, EntryPoint = "glfwMakeContextCurrent")]
private static partial void _MakeContextCurrent(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void MakeContextCurrent(GlfwWindow window)
{
Log.Trace();
_MakeContextCurrent(window);
}
[LibraryImport(Dll, EntryPoint = "glfwSwapBuffers")]
private static partial void _SwapBuffers(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SwapBuffers(GlfwWindow window)
{
Log.Trace();
_SwapBuffers(window);
}
[LibraryImport(Dll, EntryPoint = "glfwSwapInterval")]
private static partial void _SwapInterval(int interval);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SwapInterval(int interval)
{
Log.Trace();
_SwapInterval(interval);
}
[LibraryImport(
Dll,
EntryPoint = "glfwExtensionSupported",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial int _ExtensionSupported(string extension);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int ExtensionSupported(string extension)
{
Log.Trace();
return _ExtensionSupported(extension);
}
[LibraryImport(Dll, EntryPoint = "glfwVulkanSupported")]
private static partial int _VulkanSupported();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int VulkanSupported()
{
Log.Trace();
return _VulkanSupported();
}
[LibraryImport(Dll, EntryPoint = "glfwGetRequiredInstanceExtensions")]
private static partial byte** _GetRequiredInstanceExtensions(out uint count);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static byte** GetRequiredInstanceExtensions(out uint count)
{
Log.Trace();
return _GetRequiredInstanceExtensions(out count);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetInstanceProcAddress",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial nint _GetInstanceProcAddress(nint instance, string procName);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetInstanceProcAddress(nint instance, string procName)
{
Log.Trace();
return _GetInstanceProcAddress(instance, procName);
}
[LibraryImport(Dll, EntryPoint = "glfwGetPhysicalDevicePresentationSupport")]
private static partial int _GetPhysicalDevicePresentationSupport(
nint instance,
nint device,
uint queuefamily
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetPhysicalDevicePresentationSupport(nint instance, nint device, uint queuefamily)
{
Log.Trace();
return _GetPhysicalDevicePresentationSupport(instance, device, queuefamily);
}
[LibraryImport(Dll, EntryPoint = "glfwCreateWindowSurface")]
private static partial int _CreateWindowSurface(
nint instance,
GlfwWindow window,
void* allocator,
ulong* surface
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int CreateWindowSurface(nint instance, GlfwWindow window, void* allocator, ulong* surface)
{
Log.Trace();
return _CreateWindowSurface(instance, window, allocator, surface);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetWin32Adapter",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetWin32Adapter(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetWin32Adapter(GlfwMonitor monitor)
{
Log.Trace();
return _GetWin32Adapter(monitor);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetWin32Monitor",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetWin32Monitor(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetWin32Monitor(GlfwMonitor monitor)
{
Log.Trace();
return _GetWin32Monitor(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWin32Window")]
private static partial nint _GetWin32Window(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetWin32Window(GlfwWindow window)
{
Log.Trace();
return _GetWin32Window(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWGLContext")]
private static partial nint _GetWGLContext(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetWGLContext(GlfwWindow window)
{
Log.Trace();
return _GetWGLContext(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetCocoaMonitor")]
private static partial uint _GetCocoaMonitor(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static uint GetCocoaMonitor(GlfwMonitor monitor)
{
Log.Trace();
return _GetCocoaMonitor(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwGetCocoaWindow")]
private static partial nint _GetCocoaWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetCocoaWindow(GlfwWindow window)
{
Log.Trace();
return _GetCocoaWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetCocoaView")]
private static partial nint _GetCocoaView(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetCocoaView(GlfwWindow window)
{
Log.Trace();
return _GetCocoaView(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetNSGLContext")]
private static partial nint _GetNSGLContext(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetNSGLContext(GlfwWindow window)
{
Log.Trace();
return _GetNSGLContext(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetX11Display")]
private static partial nint _GetX11Display();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetX11Display()
{
Log.Trace();
return _GetX11Display();
}
[LibraryImport(Dll, EntryPoint = "glfwGetX11Adapter")]
private static partial ulong _GetX11Adapter(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong GetX11Adapter(GlfwMonitor monitor)
{
Log.Trace();
return _GetX11Adapter(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwGetX11Monitor")]
private static partial ulong _GetX11Monitor(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong GetX11Monitor(GlfwMonitor monitor)
{
Log.Trace();
return _GetX11Monitor(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwGetX11Window")]
private static partial ulong _GetX11Window(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong GetX11Window(GlfwWindow window)
{
Log.Trace();
return _GetX11Window(window);
}
[LibraryImport(
Dll,
EntryPoint = "glfwSetX11SelectionString",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial void _SetX11SelectionString(string @string);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SetX11SelectionString(string @string)
{
Log.Trace();
_SetX11SelectionString(@string);
}
[LibraryImport(
Dll,
EntryPoint = "glfwGetX11SelectionString",
StringMarshalling = StringMarshalling.Custom,
StringMarshallingCustomType = typeof(CustomStringMarshaller)
)]
private static partial string? _GetX11SelectionString();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static string? GetX11SelectionString()
{
Log.Trace();
return _GetX11SelectionString();
}
[LibraryImport(Dll, EntryPoint = "glfwGetGLXContext")]
private static partial nint _GetGLXContext(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetGLXContext(GlfwWindow window)
{
Log.Trace();
return _GetGLXContext(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetGLXWindow")]
private static partial ulong _GetGLXWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong GetGLXWindow(GlfwWindow window)
{
Log.Trace();
return _GetGLXWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetGLXFBConfig")]
private static partial int _GetGLXFBConfig(GlfwWindow window, out nint config);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetGLXFBConfig(GlfwWindow window, out nint config)
{
Log.Trace();
return _GetGLXFBConfig(window, out config);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWaylandDisplay")]
private static partial nint _GetWaylandDisplay();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetWaylandDisplay()
{
Log.Trace();
return _GetWaylandDisplay();
}
[LibraryImport(Dll, EntryPoint = "glfwGetWaylandMonitor")]
private static partial nint _GetWaylandMonitor(GlfwMonitor monitor);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetWaylandMonitor(GlfwMonitor monitor)
{
Log.Trace();
return _GetWaylandMonitor(monitor);
}
[LibraryImport(Dll, EntryPoint = "glfwGetWaylandWindow")]
private static partial nint _GetWaylandWindow(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetWaylandWindow(GlfwWindow window)
{
Log.Trace();
return _GetWaylandWindow(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetEGLDisplay")]
private static partial nint _GetEGLDisplay();
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetEGLDisplay()
{
Log.Trace();
return _GetEGLDisplay();
}
[LibraryImport(Dll, EntryPoint = "glfwGetEGLContext")]
private static partial nint _GetEGLContext(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetEGLContext(GlfwWindow window)
{
Log.Trace();
return _GetEGLContext(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetEGLSurface")]
private static partial nint _GetEGLSurface(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetEGLSurface(GlfwWindow window)
{
Log.Trace();
return _GetEGLSurface(window);
}
[LibraryImport(Dll, EntryPoint = "glfwGetEGLConfig")]
private static partial int _GetEGLConfig(GlfwWindow window, out nint config);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetEGLConfig(GlfwWindow window, out nint config)
{
Log.Trace();
return _GetEGLConfig(window, out config);
}
[LibraryImport(Dll, EntryPoint = "glfwGetOSMesaColorBuffer")]
private static partial int _GetOSMesaColorBuffer(
GlfwWindow window,
out int width,
out int height,
out int format,
out void* buffer
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetOSMesaColorBuffer(
GlfwWindow window,
out int width,
out int height,
out int format,
out void* buffer
)
{
Log.Trace();
return _GetOSMesaColorBuffer(window, out width, out height, out format, out buffer);
}
[LibraryImport(Dll, EntryPoint = "glfwGetOSMesaDepthBuffer")]
private static partial int _GetOSMesaDepthBuffer(
GlfwWindow window,
out int width,
out int height,
out int bytesPerValue,
out void* buffer
);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int GetOSMesaDepthBuffer(
GlfwWindow window,
out int width,
out int height,
out int bytesPerValue,
out void* buffer
)
{
Log.Trace();
return _GetOSMesaDepthBuffer(window, out width, out height, out bytesPerValue, out buffer);
}
[LibraryImport(Dll, EntryPoint = "glfwGetOSMesaContext")]
private static partial nint _GetOSMesaContext(GlfwWindow window);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static nint GetOSMesaContext(GlfwWindow window)
{
Log.Trace();
return _GetOSMesaContext(window);
}
}
}
}