Generated opengl function binding added. All opengl core profile function is now available but not in C# flavour.

This commit is contained in:
Youmu Liu
2025-12-30 19:16:05 +08:00
parent b7c32bdf6d
commit 6484307b8a
40 changed files with 14965 additions and 3893 deletions
+11 -3
View File
@@ -32,18 +32,26 @@ namespace GenerateGL.CodeGen
internal sealed record GlCommand(
string Name,
string ReturnType,
int ReturnPointerLevel,
bool ReturnIsConst,
IReadOnlyList<GlParam> Parameters
);
internal sealed record GlParam(
string Name,
string CType,
bool IsPointer,
int PointerLevel,
bool IsConst
);
)
{
public bool IsPointer => PointerLevel > 0;
}
internal sealed record GlFeature(
string Version,
IReadOnlyList<string> RequiresCommands
IReadOnlyList<string> RequiresCommands,
IReadOnlyList<string> RemovedCommands
);
}