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

12 lines
238 B
C#

namespace Brutal.OpenGlApi;
using static OpenGl;
public readonly record struct GlBuffer(uint Id)
{
public unsafe GlBuffer Bind(GlBindTarget target)
{
Native.glBindBuffer((uint)target, this);
return this;
}
}