mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
Add additional LoadXFromMemory utility functions
This commit is contained in:
@ -2531,8 +2531,7 @@ namespace Raylib_cs
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern Music LoadMusicStream(sbyte* fileName);
|
||||
|
||||
//TODO: Span/Helper method
|
||||
/// <summary>Load music stream from data</summary>
|
||||
/// <summary>Load music stream from memory buffer, fileType refers to extension: i.e. ".wav"</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern Music LoadMusicStreamFromMemory(sbyte* fileType, byte* data, int dataSize);
|
||||
|
||||
|
Reference in New Issue
Block a user