digitalmars.D - OpenCL/GL API
- %u (1/1) Dec 29 2011 Are there OpenCL/GL API bindings for D?
- Gor Gyolchanyan (5/6) Dec 29 2011 --
- Kapps (19/20) Dec 29 2011 Derelict has bindings for many things, including OpenGL. It also manages...
- Trass3r (3/4) Dec 29 2011 ^^ I just posted it:
http://dsource.org/projects/derelict On Thu, Dec 29, 2011 at 7:12 PM, %u <8lavian gmail.com> wrote:Are there OpenCL/GL API bindings for D?-- Bye, Gor Gyolchanyan.
Dec 29 2011
Derelict has bindings for many things, including OpenGL. It also manages loading the libraries for you (at runtime), and a few other things (including loading GL extensions I believe), using a giant string mixin. It saves you the effort of having to get implib working and statically link OpenGL. I also have a straight binding for OpenGL Core Profile 4.2. It includes only core functions, and has (in many cases fairly badly formed) documentation. It also has stuff that, last I checked, Derelict did not (Derelict may have updated since then as this was a while back). It doesn't have any deprecated stuff though, like immediate mode. It's generated from the man pages, and where the man pages are badly formed (saw at least one function that had the issue), it may be missing parameters. The default uses glfw for loading extensions, but can be easily changed by modifying getExtensionAddress. https://www.dropbox.com/s/hvtaqgncocbso2e/glfuncs.d https://www.dropbox.com/s/q9zf46c3r85zyu9/gltypes.d (and glfw - I think this one may be bundled with glfw) https://www.dropbox.com/s/4t8quc6dyiwc0vy/glfw.d On 29/12/2011 9:12 AM, %u wrote:Are there OpenCL/GL API bindings for D?
Dec 29 2011
On Thursday, 29 December 2011 at 15:12:37 UTC, %u wrote:Are there OpenCL/GL API bindings for D?^^ I just posted it: http://dfeed.kimsufi.thecybershadow.net/discussion/thread/rshdmqatgusiyrfhygzo dfeed.kimsufi.thecybershadow.net
Dec 29 2011