MetaKnight

Hi , I am trying to setup my own parameters to create my own graphics device.

I want to make it a REF device and set a custom adapter number. This is for a
program called NVPerfHUD.

Is there a way to customize the device creation
Can I destroy the old device and create one my own
Or is this not possible in XNA

Thanks for any answers



Re: XNA Framework Create my own Device

Joel Martinez

There's a howto article in the xna docs on how to use the ref device

XNA Game Studio Express > Programming Guide > Graphics > 3D Graphics > How to: Use the Reference Device

That tells you how to use the ref device with the Game class. Otherwise, you can still manually create your device and pass in the presentation params, and pass in a form or control handle for the device to draw to.





Re: XNA Framework Create my own Device

MetaKnight

Perfect! Thanks for the quick reply