private static DeviceContext GetNativeDeviceContextImpl(GraphicsDevice device) { return(device.NativeDeviceContext); }
private static object GetNativeCommandQueueImpl(GraphicsDevice device) { return(null); }
/// <summary> /// Gets the DX11 native device /// </summary> /// <param name="device">The Xenko GraphicsDevice</param> /// <returns></returns> private static Device GetNativeDeviceImpl(GraphicsDevice device) { return(device.NativeDevice); }
/// <summary> /// Gets the native command queue (DX12 only) /// </summary> /// <param name="device">The Xenko GraphicsDevice</param> /// <returns></returns> public static object GetNativeCommandQueue(GraphicsDevice device) { return(GetNativeCommandQueueImpl(device)); }
/// <summary> /// Gets the native device context (DX11) /// </summary> /// <param name="device">The Xenko GraphicsDevice</param> /// <returns></returns> public static object GetNativeDeviceContext(GraphicsDevice device) { return(GetNativeDeviceContextImpl(device)); }
private static CommandQueue GetNativeCommandQueueImpl(GraphicsDevice device) { return(device.NativeCommandQueue); }
private static object GetNativeDeviceContextImpl(GraphicsDevice device) { return(null); }