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 / DirectX API with Dark GDK

Author
Message
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 22nd Nov 2007 17:15
Is it possible to use DirectX 9 api coding mixed with Dark GDK? How would I access GDK objects/textures/etc from DX api?
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 22nd Nov 2007 17:28
You can get access to the Direct3D interface and device by using these functions:

IDirect3D9* dbGetDirect3D ( void );
IDirect3DDevice9* dbGetDirect3DDevice ( void );

Here's some source code showing how to make an object at runtime:

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 22nd Nov 2007 18:37
My thread about rendering to multiple windows sorta explained that you could, eh?


Cheers,

-naota

"I choose to believe, what I was programmed to believe!"
Aex.Uni forums
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 23rd Nov 2007 04:01
exactly what I needed. Thanks!

Login to post a reply

Server time is: 2024-11-16 20:25:08
Your offset time is: 2024-11-16 20:25:08