예제 #1
0
        internal void Connect()
        {
	        _renderer = new CubeRenderer();

	        // Restart timer after renderer has finished initializing.
	        _timer.Reset();
        }
예제 #2
0
        internal void Connect()
        {
            _renderer = new CubeRenderer();

            // Restart timer after renderer has finished initializing.
            _timer.Reset();
        }
예제 #3
0
        internal void Connect(DrawingSurfaceRuntimeHost host)
        {
            _renderer = new CubeRenderer();
            _renderer.Initialize();
            _renderer.UpdateForWindowSizeChange((float)WindowBounds.Width, (float)WindowBounds.Height);
            _renderer.UpdateForRenderResolutionChange((float)_renderResolution.Width, (float)_renderResolution.Height);

            // Restart timer after renderer has finished initializing.
            _timer.Reset();
        }
예제 #4
0
 internal void Disconnect()
 {
     _renderer = null;
 }
예제 #5
0
        internal void Connect(DrawingSurfaceRuntimeHost host)
        {
            _renderer = new CubeRenderer();
            _renderer.Initialize();
            _renderer.UpdateForWindowSizeChange((float)WindowBounds.Width, (float)WindowBounds.Height);
            _renderer.UpdateForRenderResolutionChange((float)_renderResolution.Width, (float)_renderResolution.Height);

            // Restart timer after renderer has finished initializing.
            _timer.Reset();
        }