switch root namespace name to NITLOAD

This commit is contained in:
Youmu Liu
2026-09-02 18:15:03 +08:00
parent 4218baad48
commit 7c7101ee48
502 changed files with 710 additions and 721 deletions
@@ -0,0 +1,56 @@
// -----------------------------------------------------------------------------
// file="GlCommandDefinition"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using System.Collections.Generic;
namespace StgSharp.GenerateGL.Registry
{
internal sealed record GlCommandBlock(
string? Namespace,
IReadOnlyList<GlCommandDefinition> Commands,
GlRegistryElement Element
);
internal sealed record GlCommandDefinition(
string Name,
GlReturnDefinition Return,
IReadOnlyList<GlParameterDefinition> Parameters,
IReadOnlyList<GlNamedReference> Aliases,
IReadOnlyList<GlNamedReference> VectorEquivalents,
IReadOnlyList<GlCommandProtocol> Protocols,
string? Comment,
GlRegistryElement Element
);
internal sealed record GlReturnDefinition(
string DeclarationText,
string? TypeName,
string? Group,
string? Kind,
string? ObjectClass,
GlRegistryElement Element
);
internal sealed record GlParameterDefinition(
string Name,
string DeclarationText,
string? TypeName,
string? Group,
string? Kind,
string? ObjectClass,
string? Length,
GlRegistryElement Element
);
internal sealed record GlCommandProtocol(
string Type,
string Opcode,
string? Name,
string? Comment,
GlRegistryElement Element
);
}