mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-07 02:51:43 -04:00
@@ -1424,7 +1424,7 @@ public static unsafe partial class Raylib
|
|||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Image LoadImageAnim(sbyte* fileName, int* frames);
|
public static extern Image LoadImageAnim(sbyte* fileName, int* frames);
|
||||||
|
|
||||||
/// <summary>Load image from memory buffer, fileType refers to extension: i.e. "png"</summary>
|
/// <summary>Load image from memory buffer, fileType refers to extension: i.e. ".png"</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Image LoadImageFromMemory(sbyte* fileType, byte* fileData, int dataSize);
|
public static extern Image LoadImageFromMemory(sbyte* fileType, byte* fileData, int dataSize);
|
||||||
|
|
||||||
@@ -1976,7 +1976,7 @@ public static unsafe partial class Raylib
|
|||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Font LoadFontFromImage(Image image, Color key, int firstChar);
|
public static extern Font LoadFontFromImage(Image image, Color key, int firstChar);
|
||||||
|
|
||||||
/// <summary>Load font from memory buffer, fileType refers to extension: i.e. "ttf"</summary>
|
/// <summary>Load font from memory buffer, fileType refers to extension: i.e. ".ttf"</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Font LoadFontFromMemory(
|
public static extern Font LoadFontFromMemory(
|
||||||
sbyte* fileType,
|
sbyte* fileType,
|
||||||
@@ -2694,7 +2694,7 @@ public static unsafe partial class Raylib
|
|||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Wave LoadWave(sbyte* fileName);
|
public static extern Wave LoadWave(sbyte* fileName);
|
||||||
|
|
||||||
/// <summary>Load wave from memory buffer, fileType refers to extension: i.e. "wav"</summary>
|
/// <summary>Load wave from memory buffer, fileType refers to extension: i.e. ".wav"</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Wave LoadWaveFromMemory(sbyte* fileType, byte* fileData, int dataSize);
|
public static extern Wave LoadWaveFromMemory(sbyte* fileType, byte* fileData, int dataSize);
|
||||||
|
|
||||||
|
@@ -130,7 +130,7 @@ public static unsafe partial class Raylib
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load image from managed memory, fileType refers to extension: i.e. "png"
|
/// Load image from managed memory, fileType refers to extension: i.e. ".png"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static Image LoadImageFromMemory(string fileType, byte[] fileData)
|
public static Image LoadImageFromMemory(string fileType, byte[] fileData)
|
||||||
{
|
{
|
||||||
@@ -949,7 +949,7 @@ public static unsafe partial class Raylib
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load font from managed memory, fileType refers to extension: i.e. "ttf"
|
/// Load font from managed memory, fileType refers to extension: i.e. ".ttf"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static Font LoadFontFromMemory(
|
public static Font LoadFontFromMemory(
|
||||||
string fileType,
|
string fileType,
|
||||||
@@ -1273,7 +1273,7 @@ public static unsafe partial class Raylib
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load wave from managed memory, fileType refers to extension: i.e. "wav"
|
/// Load wave from managed memory, fileType refers to extension: i.e. ".wav"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static Wave LoadWaveFromMemory(
|
public static Wave LoadWaveFromMemory(
|
||||||
string fileType,
|
string fileType,
|
||||||
|
Reference in New Issue
Block a user