brutal/Brutal.OpenGl/Types/GlVertexArray.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

15 lines
315 B
C#

using System.Runtime.CompilerServices;
namespace Brutal.OpenGlApi;
using static OpenGl;
public readonly record struct GlVertexArray(uint Id)
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public unsafe GlVertexArray Bind()
{
Native.glBindVertexArray(this);
return this;
}
}