Implements abstract Renderer
Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XenkoEngine"/> class.
 /// </summary>
 /// <param name="graphicsDevice">The graphics device.</param>
 /// <param name="nativeScreenWidth">Width of the native screen.</param>
 /// <param name="nativeScreenHeight">Height of the native screen.</param>
 public XenkoEngine(GraphicsDeviceManager manager, EffectSystem effectSystem)
     : base()
 {
     renderer = new XenkoRenderer(manager, effectSystem);
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FNAEngine"/> class.
 /// </summary>
 /// <param name="graphicsDevice">The graphics device.</param>
 /// <param name="nativeScreenWidth">Width of the native screen.</param>
 /// <param name="nativeScreenHeight">Height of the native screen.</param>
 public FNAEngine(GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight)
     : base()
 {
     renderer = new FNARenderer(graphicsDevice, nativeScreenWidth, nativeScreenHeight);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonoGameEngine"/> class.
 /// </summary>
 /// <param name="graphicsDevice">The graphics device.</param>
 /// <param name="nativeScreenWidth">Width of the native screen.</param>
 /// <param name="nativeScreenHeight">Height of the native screen.</param>
 public MonoGameEngine(GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight)
     : base()
 {
     renderer = new MonoGameRenderer(graphicsDevice, nativeScreenWidth, nativeScreenHeight);
 }