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