Example #1
0
 static DxTextureReader()
 {
     Configuration.EnableObjectTracking = true;
     _device = Dx11Device.CreateDefaultAdapter();
     _textureCreatingWorkaround = InitializeWorkaround();
 }
Example #2
0
 static DxTextureReader()
 {
     Configuration.EnableObjectTracking = true;
     _device = new Device(DriverType.Hardware, DeviceCreationFlags.Debug);
     _textureCreatingWorkaround = InitializeWorkaround();
 }
Example #3
0
 static DxTextureReader()
 {
     Configuration.EnableObjectTracking = true;
     _device = Dx11Device.CreateDefaultAdapter();
     _textureCreatingWorkaround = InitializeWorkaround();
 }