Inheritance: IGraphicsDeviceService, IGraphicsDeviceManager
Ejemplo n.º 1
0
 public override void Init()
 {
     graphicsService = new GraphicsDeviceService(renderControl);
     graphicsService.CreateDevice();
     sprites = new SpriteBatch(graphicsService.GraphicsDevice);
 }
Ejemplo n.º 2
0
 public override void Init()
 {
     graphicsService = new GraphicsDeviceService(renderControl);
     graphicsService.CreateDevice();
     sprites = new SpriteBatch(graphicsService.GraphicsDevice);
 }