mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
27 lines
583 B
C#
27 lines
583 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Raylib_cs
|
|
{
|
|
/// <summary>
|
|
/// Material type (generic)
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct Material
|
|
{
|
|
/// <summary>
|
|
/// Material shader
|
|
/// </summary>
|
|
public Shader shader;
|
|
|
|
/// <summary>
|
|
/// Material maps (MaterialMap *)
|
|
/// </summary>
|
|
public IntPtr maps;
|
|
|
|
/// <summary>
|
|
/// Material generic parameters (if required, float *)
|
|
/// </summary>
|
|
public IntPtr param;
|
|
}
|
|
} |