CreateDevice() public method

public CreateDevice ( ) : void
return void
コード例 #1
0
ファイル: XNAUI.cs プロジェクト: cryogen/VM86CS
 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);
 }