Наследование: IGraphicsDeviceService, IGraphicsDeviceManager
Пример #1
0
 public override void Init()
 {
     graphicsService = new GraphicsDeviceService(renderControl);
     graphicsService.CreateDevice();
     sprites = new SpriteBatch(graphicsService.GraphicsDevice);
 }
Пример #2
0
 public override void Init()
 {
     graphicsService = new GraphicsDeviceService(renderControl);
     graphicsService.CreateDevice();
     sprites = new SpriteBatch(graphicsService.GraphicsDevice);
 }