Better native D 2D graphics library?

weaselcat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 7 14:25:08 PST 2015


On Saturday, 7 February 2015 at 22:09:03 UTC, Gan wrote:
> Is there a better D graphics library in the works?
>
> I'm using SFML(which is very easy and has lots of features) but 
> it seems to use a lot of ram(if you leave it running for a 
> while on a graphic intensive scene) and trying to make it 
> include the dependencies with the compiled executable is 
> complicated.
>
> Is there a D 2D graphics library that's just as easy, cross 
> platform, doesn't use X11, allows drawing to off-screen buffers 
> and drawing those to screen? (plus supports nice drawing of 
> shapes, circles, rectangles, lines)
>
> I'm probably asking too much- I doubt such a thing exists.

Not what you're asking for, but you could always use SDL - I 
believe it has two or three bindings to D. Check on dub.

I doubt you're going to find anything like SFML written in D as 
it's a lot of work to maintain such a project, and just 
duplication of effort. It's why most projects in most languages 
just wrap SDL in some form.


More information about the Digitalmars-d-learn mailing list