2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

Added TODOs

This commit is contained in:
2021-12-09 22:28:22 +11:00
parent 331dd8c4cf
commit 703bf0e0d2
4 changed files with 13 additions and 3 deletions

View File

@@ -1897,6 +1897,7 @@ namespace Raylib_cs
// Material loading/unloading functions
//TODO: safe Helper method
/// <summary>Load materials from model file</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Material* LoadMaterials(string fileName, ref int materialCount);
@@ -2194,10 +2195,12 @@ namespace Raylib_cs
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void WaveCrop(ref Wave wave, int initSample, int finalSample);
//TODO: Span
/// <summary>Get samples data from wave as a floats array</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern float* LoadWaveSamples(Wave wave);
//TODO: Span
/// <summary>Unload samples data loaded with LoadWaveSamples()</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void UnloadWaveSamples(float* samples);
@@ -2208,6 +2211,7 @@ namespace Raylib_cs
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Music LoadMusicStream(string fileName);
//TODO: Span/Helper method
/// <summary>Load music stream from data</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Music LoadMusicStreamFromMemory(string fileType, byte* data, int dataSize);