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