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

Big unsafe update 1

This commit is contained in:
2021-11-11 12:00:42 +00:00
parent bb7ceb2102
commit e5400d0bae
10 changed files with 97 additions and 107 deletions

View File

@@ -71,7 +71,7 @@ namespace Raylib_cs
/// Material type (generic)
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Material
public unsafe struct Material
{
/// <summary>
/// Material shader
@@ -79,13 +79,13 @@ namespace Raylib_cs
public Shader shader;
/// <summary>
/// Material maps (MaterialMap *)
/// Material maps
/// </summary>
public IntPtr maps;
public MaterialMap *maps;
/// <summary>
/// Material generic parameters (if required, float *)
/// Material generic parameters (if required)
/// </summary>
public IntPtr param;
public float *param;
}
}