Axiom.Samples.SampleContext.Setup C# (CSharp) Метод

Setup() защищенный Метод

Sets up the context after configuration.
protected Setup ( ) : void
Результат void
		protected virtual void Setup()
		{
			CreateWindow();
			SetupInput();
			LocateResources();
			LoadResources();

			TextureManager.Instance.DefaultMipmapCount = 5;

			// adds context as listener to process context-level (above the sample level) events
			this.Root.FrameStarted += this.FrameStarted;
			this.Root.FrameEnded += this.FrameEnded;
			this.Root.FrameRenderingQueued += this.FrameRenderingQueued;
			WindowEventMonitor.Instance.RegisterListener( RenderWindow, this );
		}