mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Split Enums, Structs & Classes into own files
This commit is contained in:
22
Raylib-cs/Shader.cs
Normal file
22
Raylib-cs/Shader.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Raylib_cs
|
||||
{
|
||||
/// <summary>
|
||||
/// Shader type (generic)
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Shader
|
||||
{
|
||||
/// <summary>
|
||||
/// Shader program id
|
||||
/// </summary>
|
||||
public uint id;
|
||||
|
||||
/// <summary>
|
||||
/// Shader locations array (MAX_SHADER_LOCATIONS, int *)
|
||||
/// </summary>
|
||||
public IntPtr locs;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user