Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
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

Change GraphicsDeviceManager`s GraphicDevice in SharpDX

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
1 reply to this topic

#1 BlackJoker   Members   

1311
Like
0Likes
Like

Posted 14 July 2014 - 10:17 PM

Hi,

I am using sharpdx with WinRT to develope DirectX app. I just started and confused with GraphicsDeviceManager. Does it allow to change or set adapter on which it created? (if I have few adapters for ex.) I didn`t find how to set it or change.

I can create new with GraphicsDevice.New(...), but it returns new device, which cannot be applyed to existing GraphicsDeviceManager.

Or at least If I want just to change Adapter - how can I do that?

 

Any ideas? Maybe someone already faced with this situation?


Edited by BlackJoker, 15 July 2014 - 12:29 AM.


#2 BlackJoker   Members   

1311
Like
1Likes
Like

Posted 15 July 2014 - 01:41 AM

Problem is Solved. You need to subscribe to the PreparingDeviceSettings event where you can override various settings including adapter via its event arguments






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.