nomad-software / tkd

GUI toolkit for the D programming language based on Tcl/Tk
MIT License
117 stars 16 forks source link

OpenGL? #24

Closed patrickjm closed 10 years ago

patrickjm commented 10 years ago

Is it possible to create an OpenGL context inside of a TkD window? Potentially with something like Derelict?

nomad-software commented 10 years ago

I don't see why not. You can get the HWND of any window using the hwnd property. So i guess you could use this to create one.

https://github.com/nomad-software/tkd/blob/master/source/tkd/element/uielement.d#L418