This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,15 @@
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;
}
}