mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
12 lines
238 B
C#
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;
|
|
}
|
|
}
|