Watch
2
0
Fork
You've already forked raylib-cs
0

Update version and bindings (#332)

This commit is contained in:
Rgebee 2026-04-15 20:53:16 +01:00 committed by GitHub
commit d49c0f8474
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 28 deletions

View file

@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Numerics;
using System.Security;
using System;
@ -211,6 +212,7 @@ public static unsafe partial class Raylib
public static extern sbyte* GetClipboardText();
/// <summary>Get clipboard image content (only works on Windows)</summary>
[UnsupportedOSPlatform("browser")]
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Image GetClipboardImage();
@ -1054,27 +1056,6 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color);
/// <summary>Draw line using quadratic bezier curves with a control point</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezierQuad(
Vector2 startPos,
Vector2 endPos,
Vector2 controlPos,
float thick,
Color color
);
/// <summary>Draw line using cubic bezier curves with 2 control points</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezierCubic(
Vector2 startPos,
Vector2 endPos,
Vector2 startControlPos,
Vector2 endControlPos,
float thick,
Color color
);
/// <summary>Draw lines sequence</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineStrip(Vector2* points, int pointCount, Color color);
@ -2761,10 +2742,6 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ResumeSound(Sound sound);
/// <summary>Get number of sounds playing in the multichannel</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int GetSoundsPlaying();
/// <summary>Check if a sound is currently playing</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern CBool IsSoundPlaying(Sound sound);