/// <summary>
 /// Called when graphics device has been detected to be internally destroyed.
 /// </summary>
 protected internal virtual void OnDestroyed()
 {
     if (nativeDeviceChild != null)
     {
         // Schedule the resource for destruction (as soon as we are done with it)
         GraphicsDevice.TemporaryResources.Enqueue(new KeyValuePair <long, object>(GraphicsDevice.NextFenceValue, nativeDeviceChild));
         nativeDeviceChild = null;
     }
     NativeResource = null;
 }
 /// <summary>
 /// Associates the private data to the device child, useful to get the name in PIX debugger.
 /// </summary>
 internal static void SetDebugName(GraphicsDevice graphicsDevice, SharpDX.Direct3D12.DeviceChild deviceChild, string name)
 {
 }