Jump to content

  • Log In with Google      Sign In   
  • Create Account


Change GraphicsDeviceManager`s GraphicDevice in SharpDX

  • You cannot reply to this topic
1 reply to this topic

#1 BlackJoker   Members   -  Reputation: 418

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.


Sponsor:

#2 BlackJoker   Members   -  Reputation: 418

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







PARTNERS