public D3D11() { device = DeviceUtil.Create11(DeviceCreationFlags.BgraSupport); if (device == null) { throw new NotSupportedException(); } }
public D3D11(FeatureLevel minLevel) { device = DeviceUtil.Create11(DeviceCreationFlags.BgraSupport, minLevel); if (device == null) { throw new NotSupportedException(); } }
public D3D11(Adapter a) { if (a == null) { device = DeviceUtil.Create11(DeviceCreationFlags.BgraSupport, FeatureLevel.Level_11_0); if (device == null) { throw new NotSupportedException(); } } device = new Device(a); }