D for game Development
Chris Pons
cmpons at gmail.com
Wed Feb 15 10:32:08 PST 2012
On Wednesday, 15 February 2012 at 15:41:02 UTC, Kiith-Sa wrote:
> 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)
Ok, So let me get this straight. I can use Derelict with OpenGL
3. ish, and support for 4.0 is on the way.
I can also use any tutorials to learn Opengl?
That is really good news.
More information about the Digitalmars-d-learn
mailing list