mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
8
Brutal.OpenGl/Types/GlEnum.cs
Normal file
8
Brutal.OpenGl/Types/GlEnum.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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);
|
||||
}
|
||||
Loading…
Reference in a new issue