/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { PresentationParameters pp = GraphicsDevice.PresentationParameters; SurfaceFormat format = pp.BackBufferFormat; SpriteFont = Content.Load <SpriteFont>("textures/font-sprites"); _mousepointerTexture = Content.Load <Texture2D>("textures/Mousepointer"); SpriteBatch = new SpriteBatch(GraphicsDevice); _sceneRenderTarget = new RenderTarget2D(GraphicsDevice, pp.BackBufferWidth, pp.BackBufferHeight, false, format, pp.DepthStencilFormat, pp.MultiSampleCount, RenderTargetUsage.DiscardContents); FlashRenderer.LoadContent(Content, GraphicsDevice); FlashRenderer.Register(_sceneRenderTarget); Renderer.LoadContent(Content); SoundLibrary.LoadContent(Content); Level.LoadContent(Content); PostProcess.LoadContent(); }