https://github.com/dlanggamedev/bindbc-glslang
Dynamic binding to GLSL reference compiler
https://github.com/dlanggamedev/bindbc-glslang
glsl glslang shader-programming
Last synced: 4 months ago
JSON representation
Dynamic binding to GLSL reference compiler
- Host: GitHub
- URL: https://github.com/dlanggamedev/bindbc-glslang
- Owner: DLangGamedev
- License: bsl-1.0
- Created: 2025-01-09T10:27:15.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T22:30:35.000Z (7 months ago)
- Last Synced: 2025-03-29T23:24:00.587Z (7 months ago)
- Topics: glsl, glslang, shader-programming
- Language: D
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
# BindBC-GLSLang
BindBC binding to [GLSL reference compiler from Khronos Group](https://github.com/KhronosGroup/glslang). This package allows to embed a GLSL-to-SPIR-V compilation toolchain into your application, thereby avoiding the tedious separate shader building step.
[](https://code.dlang.org/packages/bindbc-glslang)
[](https://code.dlang.org/packages/bindbc-glslang)
## Usage
```
dub add bindbc-glslang
```
BindBC-GLSLang relies on a shared library: `glslang.dll` on Windows and `libglslang.so` on Linux. To compile GLSLang with shared libraries, use `BUILD_SHARED_LIBS` CMake option, for example:
```
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
```