Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Getting the D3D Device?

Author
Message
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 2nd Jan 2010 01:38
Hello,

There is some lower-level D3D operations that I would like to do. For example, drawing 3D lines. I know I can do this very easily using the DrawPrimitive function of the D3D device. In order to do this I need a pointer to that device.

Does anyone have any ideas on how I can get the D3D device?
Thanks!
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 2nd Jan 2010 02:01
I figured it out.

In case anyone is interested, the command is dbGetDirect3DDevice.

Login to post a reply

Server time is: 2024-10-01 20:20:02
Your offset time is: 2024-10-01 20:20:02