Goblin - A Platform for 3D AR and VR Applications

Framework.CreateDevice Method (UInt32, Boolean, Int32, Int32, IDeviceCreation)

Creates a Direct3D device. If CreateWindow or SetWindow has not already been called, it will call CreateWindow with default parameters. Instead of calling this, you can call SetDevice or CreateDeviceFromSettings

public void CreateDevice(
   uint adapterOridinal,
   bool windowed,
   int suggestedWidth,
   int suggestedHeight,
   IDeviceCreation callback
);

See Also

Framework Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace | Framework.CreateDevice Overload List