Generated opengl function binding added. All opengl core profile function is now available but not in C# flavour.
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user