mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
31
Brutal.Glfw/Generated/Libraries/Glfw.Cursor.gen.cs
Normal file
31
Brutal.Glfw/Generated/Libraries/Glfw.Cursor.gen.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Glfw.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.GlfwApi
|
||||
{
|
||||
public static unsafe partial class Glfw
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a cursor with a standard shape.
|
||||
/// </summary>
|
||||
/// <param name="shape">One of the
|
||||
/// <see href="https://www.glfw.org/docs/latest/group__shapes.html">standard shapes</see>.</param>
|
||||
/// <returns>A new cursor ready to use or <c>null</c> if an error occurred.</returns>
|
||||
/// <remarks>
|
||||
/// Returns a cursor with a
|
||||
/// <see href="https://www.glfw.org/docs/latest/group__shapes.html">standard shape</see>, that can be set for
|
||||
/// a window with <see cref="GlfwWindow.SetCursor"/>.
|
||||
/// </remarks>
|
||||
/// <possibleErrors>
|
||||
/// <see cref="GlfwErrorCode.NotInitialized"/> <see cref="GlfwErrorCode.InvalidEnum"/>
|
||||
/// <see cref="GlfwErrorCode.PlatformError"/>
|
||||
/// </possibleErrors>
|
||||
/// <threadSafety>
|
||||
/// This function must only be called from the main thread.
|
||||
/// </threadSafety>
|
||||
/// <seealso cref="CreateCursor(in Brutal.GlfwApi.GlfwCursor.CreateInfo)"/>
|
||||
/// <seealso href="https://www.glfw.org/docs/latest/input_guide.html#cursor_object">Cursor objects</seealso>
|
||||
public static GlfwCursor CreateCursor(GlfwStandardCursor shape) => PInvoke.CreateStandardCursor((int)shape);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue