コード例 #1
0
ファイル: Game1.cs プロジェクト: JonasAAA/Lighting
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            graphics.PreferredBackBufferWidth  = C.screenWidth;
            graphics.PreferredBackBufferHeight = C.screenHeight;
            graphics.IsFullScreen = true;

            LightPolygon.EarlyInitialize(graphics);
        }
コード例 #2
0
 public static void EarlyInitialize(GraphicsDeviceManager graphics)
 {
     LightPolygon.EarlyInitialize(graphics);
 }