D for game Development

Kiith-Sa 42 at theanswer.com
Wed Feb 15 07:41:01 PST 2012


On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote:
> Can I use OpenGL or DirectX with D? If so, where can I find a 
> guide to get everything setup?

Derelict provides bindings for OpenGL and SDL (and many other 
game-related libraries) - these are used exactly the same way 
they are used in C/C++, so any
OpenGL/SDL tutorials for C/C++ apply.

Derelict has a few of its own functions that can/need to be 
called when initializing, described in its documentation.

The current stable version of Derelict supports only OpenGL up to 
2.1 and SDL 1.2, but support for OpenGL 3.0+ and SDL2 is being 
worked on.

For the current development version, see

https://github.com/aldacron/Derelict3

(Derelict moved to GitHub recently)


More information about the Digitalmars-d-learn mailing list