Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drug007/gfm7
dlang sdl2 opengl wrappers
https://github.com/drug007/gfm7
Last synced: 3 months ago
JSON representation
dlang sdl2 opengl wrappers
- Host: GitHub
- URL: https://github.com/drug007/gfm7
- Owner: drug007
- License: unlicense
- Created: 2020-03-18T09:07:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T09:37:19.000Z (6 months ago)
- Last Synced: 2024-07-28T01:23:12.609Z (6 months ago)
- Language: D
- Homepage:
- Size: 521 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-d - gfm - D gamedev toolkit. (Game Frameworks / XML)
README
[![Testsuite](https://github.com/drug007/gfm7/actions/workflows/main.yml/badge.svg)](https://github.com/drug007/gfm7/actions/workflows/main.yml)
GFM7 is a fork of [gfm](https://github.com/d-gamedev-team/gfm) v.7 to keep functionality that has been removed in gfm v.8
gfm7 v2.0.0 is a subset of gfm7 v1.0.0 - core, assimp and freeimage subpackages were deleted to reduce maintaining efforts. Another reason for this release was to update the dependency versions.
gfm7 v1.0.0 has breaking change - the only difference to original gfm is that OpenGL related classes ctors do not take OpenGL as its first parameters because it makes their using simpler. So instead of:
```D
auto program = new GLProgram(gl, shaderSources);
```
you can write:
```D
auto program = new GLProgram(shaderSources);
```All error reporting is fully functionable, excluding some log messages (not errors). `GLRenderBuffer`, `GLShader`, `GLUniform`, `GLAttribute`, `GLProgram` have method `logger(Logger l)` that allows to set a logger to get functionality fully equal to original gfm v.7:
```D
auto program = new GLProgram(shaderSources);
program.logger = yourLogger;
```## License
Public Domain (Unlicense).