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:
@@ -1897,6 +1897,7 @@ namespace Raylib_cs
|
|||||||
|
|
||||||
// Material loading/unloading functions
|
// Material loading/unloading functions
|
||||||
|
|
||||||
|
//TODO: safe Helper method
|
||||||
/// <summary>Load materials from model file</summary>
|
/// <summary>Load materials from model file</summary>
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Material* LoadMaterials(string fileName, ref int materialCount);
|
public static extern Material* LoadMaterials(string fileName, ref int materialCount);
|
||||||
@@ -2194,10 +2195,12 @@ namespace Raylib_cs
|
|||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void WaveCrop(ref Wave wave, int initSample, int finalSample);
|
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>
|
/// <summary>Get samples data from wave as a floats array</summary>
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern float* LoadWaveSamples(Wave wave);
|
public static extern float* LoadWaveSamples(Wave wave);
|
||||||
|
|
||||||
|
//TODO: Span
|
||||||
/// <summary>Unload samples data loaded with LoadWaveSamples()</summary>
|
/// <summary>Unload samples data loaded with LoadWaveSamples()</summary>
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void UnloadWaveSamples(float* samples);
|
public static extern void UnloadWaveSamples(float* samples);
|
||||||
@@ -2208,6 +2211,7 @@ namespace Raylib_cs
|
|||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Music LoadMusicStream(string fileName);
|
public static extern Music LoadMusicStream(string fileName);
|
||||||
|
|
||||||
|
//TODO: Span/Helper method
|
||||||
/// <summary>Load music stream from data</summary>
|
/// <summary>Load music stream from data</summary>
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Music LoadMusicStreamFromMemory(string fileType, byte* data, int dataSize);
|
public static extern Music LoadMusicStreamFromMemory(string fileType, byte* data, int dataSize);
|
||||||
|
@@ -29,6 +29,7 @@ namespace Raylib_cs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public uint channels;
|
public uint channels;
|
||||||
|
|
||||||
|
//TODO: SPAN<byte> ?
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Buffer data pointer
|
/// Buffer data pointer
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -42,6 +43,7 @@ namespace Raylib_cs
|
|||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct AudioStream
|
public struct AudioStream
|
||||||
{
|
{
|
||||||
|
//TODO: convert
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Pointer to internal data(rAudioBuffer *) used by the audio system
|
/// Pointer to internal data(rAudioBuffer *) used by the audio system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -107,6 +109,7 @@ namespace Raylib_cs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public int ctxType;
|
public int ctxType;
|
||||||
|
|
||||||
|
//TODO span
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Audio context data, depends on type
|
/// Audio context data, depends on type
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@@ -78,10 +78,11 @@ namespace Raylib_cs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public Shader shader;
|
public Shader shader;
|
||||||
|
|
||||||
|
//TODO: convert
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Material maps
|
/// Material maps
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public MaterialMap *maps;
|
public MaterialMap* maps;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Material generic parameters (if required)
|
/// Material generic parameters (if required)
|
||||||
|
@@ -62,11 +62,13 @@ namespace Raylib_cs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public int boneCount;
|
public int boneCount;
|
||||||
|
|
||||||
|
//TODO: Span
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Bones information (skeleton, BoneInfo *)
|
/// Bones information (skeleton, BoneInfo *)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public BoneInfo* bones;
|
public BoneInfo* bones;
|
||||||
|
|
||||||
|
//TODO: Span
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Bones base transformation (pose, Transform *)
|
/// Bones base transformation (pose, Transform *)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Reference in New Issue
Block a user