Add SetWindowFocused
This commit is contained in:
parent
e009520be3
commit
8872f3624f
3 changed files with 7 additions and 3 deletions
|
|
@ -138,6 +138,10 @@ public static unsafe partial class Raylib
|
|||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SetWindowOpacity(float opacity);
|
||||
|
||||
/// <summary>Set window focused (only PLATFORM_DESKTOP)</summary>
|
||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SetWindowFocused();
|
||||
|
||||
/// <summary>Get native window handle</summary>
|
||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void* GetWindowHandle();
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ public readonly unsafe partial struct ModelAnimation
|
|||
/// <summary>
|
||||
/// Animation name
|
||||
/// </summary>
|
||||
public readonly string Name; // TODO (CHECK IF IT REALLY OK TO USE STRING)
|
||||
public readonly char Name; // TODO CHECK IF IT WORKS
|
||||
|
||||
/// <inheritdoc cref="FramePoses"/>
|
||||
public FramePosesCollection FramePosesColl => new(FramePoses, FrameCount, BoneCount);
|
||||
|
|
|
|||
Loading…
Reference in a new issue