Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

alternative libraries for dx11 contexts

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Adam West   Members   

219
Like
0Likes
Like

Posted 19 October 2012 - 05:55 AM

Hey there,

I was wondering if there are any other window libraries that are usable with directx 11. I know sdl is a viable option for DX9 but its a bit of hard work. I dont like the layout of the Win32 API that much.
Thanks.

#2 Ripiz   Members   

538
Like
0Likes
Like

Posted 19 October 2012 - 09:24 AM

WinAPI is probably the only one supported, since you have to give HWND when creating Swap Chain.

What's wrong with WinAPI? To use DirectX all you need is to create a window, that's like... 15 lines which you can copy/paste from countless sources.

#3 MJP   Moderators   

19429
Like
0Likes
Like

Posted 19 October 2012 - 12:08 PM

Any window library that gives you the handle of the window should be usable for D3D11. You just obtain the handle, make a swap chain, and render to that swap chain's backbuffer. SDL should be usable, as should something more complex like qt.

Edited by MJP, 19 October 2012 - 12:21 PM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.