Framework.CreateDeviceFromSettings Method |
Language: |
Tells the framework to change to a device created from settings described in a DeviceSettings object.
Visual Basic Public Sub CreateDeviceFromSettings( _
ByVal deviceSettings As DeviceSettings _
)C# public void CreateDeviceFromSettings(
DeviceSettings deviceSettings
);C++ public:
void CreateDeviceFromSettings(
DeviceSettings^ deviceSettings
);JScript public function CreateDeviceFromSettings(
deviceSettings : DeviceSettings
);
deviceSettings Microsoft.Samples.DirectX.UtilityToolkit.DeviceSettings
The DeviceSettings object contains the settings for the new device.
If CreateWindow or SetWindow has not already been called, this method will call CreateWindow with default parameters. Instead of calling this, you can call SetDevice or CreateDevice.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center