mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
10 lines
243 B
C#
10 lines
243 B
C#
namespace Brutal.OpenGlApi;
|
|
|
|
using static OpenGl;
|
|
|
|
public record struct GlBitfield(uint Id)
|
|
{
|
|
public static implicit operator uint(GlBitfield value) => value.Id;
|
|
|
|
public static implicit operator GlBitfield(uint value) => new(value);
|
|
}
|