specific file for special regex rule
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
# StgSharp.GenerateGL
|
||||
# Nitload.GenerateGL
|
||||
|
||||
`StgSharp.GenerateGL` generates the StgSharp desktop OpenGL C# bindings from the Khronos `gl.xml` registry.
|
||||
`Nitload.GenerateGL` generates the Nitload desktop OpenGL C# bindings from the Khronos `gl.xml` registry.
|
||||
|
||||
The current target is OpenGL 4.6 Core. The generator does not emit OpenGL ES or mix extension entry points into the core API. `gl.xml` is the authoritative generation input; the retained `gl.h` is reference material only.
|
||||
|
||||
## Namespace migration
|
||||
|
||||
The project and directory are named `Nitload.GenerateGL`, but the implementation namespace and generated-source templates still contain `StgSharp.*`. Update the templates in `Generation/OpenGlGenerator.cs` to emit `Nitload.Graphics.OpenGL` and import `Nitload.Mathematics.Numeric.Graphics` before regenerating the renamed graphics library. The CLI commands below use the current project paths; they do not automatically migrate generated namespaces.
|
||||
|
||||
## Usage
|
||||
|
||||
Start the interactive CLI:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Khronos OpenGL Registry input
|
||||
|
||||
This directory intentionally does not track the third-party Khronos registry files. Before building or running `StgSharp.GenerateGL`, supply a registry snapshot from the canonical [KhronosGroup/OpenGL-Registry](https://github.com/KhronosGroup/OpenGL-Registry) repository.
|
||||
This directory intentionally does not track the third-party Khronos registry files. Before building or running `Nitload.GenerateGL`, supply a registry snapshot from the canonical [KhronosGroup/OpenGL-Registry](https://github.com/KhronosGroup/OpenGL-Registry) repository.
|
||||
|
||||
1. Clone or download one coherent revision of `KhronosGroup/OpenGL-Registry`.
|
||||
2. Copy the contents of its `xml/` directory directly into this directory.
|
||||
|
||||
Reference in New Issue
Block a user