Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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).