CreateDevice() public méthode

public CreateDevice ( ) : void
Résultat void
Exemple #1
0
 public override void Init()
 {
     graphicsService = new GraphicsDeviceService(renderControl);
     graphicsService.CreateDevice();
     sprites = new SpriteBatch(graphicsService.GraphicsDevice);
 }
Exemple #2
0
 public override void Init()
 {
     graphicsService = new GraphicsDeviceService(renderControl);
     graphicsService.CreateDevice();
     sprites = new SpriteBatch(graphicsService.GraphicsDevice);
 }