mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
8 lines
209 B
C#
8 lines
209 B
C#
namespace Brutal.OpenGlApi;
|
|
|
|
public record struct GlEnum(uint Id)
|
|
{
|
|
public static implicit operator uint(GlEnum value) => value.Id;
|
|
|
|
public static implicit operator GlEnum(uint value) => new(value);
|
|
}
|