Ejemplo n.º 1
0
 private static DeviceContext GetNativeDeviceContextImpl(GraphicsDevice device)
 {
     return(device.NativeDeviceContext);
 }
Ejemplo n.º 2
0
 private static object GetNativeCommandQueueImpl(GraphicsDevice device)
 {
     return(null);
 }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 /// <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));
 }
Ejemplo n.º 5
0
 /// <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));
 }
Ejemplo n.º 6
0
 private static CommandQueue GetNativeCommandQueueImpl(GraphicsDevice device)
 {
     return(device.NativeCommandQueue);
 }
Ejemplo n.º 7
0
 private static object GetNativeDeviceContextImpl(GraphicsDevice device)
 {
     return(null);
 }