예제 #1
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            var device = GraphicsDevice;

            _context = new NvgContext(GraphicsDevice, 0);
            _context.bndSetDefaultResources(GraphicsDevice);

            _demo = new Demo();

            _spriteBatch = new SpriteBatch(GraphicsDevice);
        }