Add additional LoadXFromMemory utility functions
This commit is contained in:
parent
99b121616a
commit
7cbb1bef64
2 changed files with 91 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue