C# Class Protogame.DefaultRenderTargetBackBufferUtilities

The default implementation of an IRenderTargetBackBufferUtilities.
Inheritance: IRenderTargetBackBufferUtilities
显示文件 Open project: RedpointGames/Protogame

Public Methods

Method Description
IsCustomRenderTargetOutOfDate ( RenderTarget2D renderTarget, IGameContext gameContext, SurfaceFormat surfaceFormat, DepthFormat depthFormat, int multiSampleCount ) : bool
IsRenderTargetOutOfDate ( RenderTarget2D renderTarget, IGameContext gameContext ) : bool
UpdateCustomRenderTarget ( RenderTarget2D renderTarget, IGameContext gameContext, SurfaceFormat surfaceFormat, DepthFormat depthFormat, int multiSampleCount ) : RenderTarget2D
UpdateRenderTarget ( RenderTarget2D renderTarget, IGameContext gameContext ) : RenderTarget2D

Method Details

IsCustomRenderTargetOutOfDate() public method

public IsCustomRenderTargetOutOfDate ( RenderTarget2D renderTarget, IGameContext gameContext, SurfaceFormat surfaceFormat, DepthFormat depthFormat, int multiSampleCount ) : bool
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
gameContext IGameContext
surfaceFormat SurfaceFormat
depthFormat DepthFormat
multiSampleCount int
return bool

IsRenderTargetOutOfDate() public method

public IsRenderTargetOutOfDate ( RenderTarget2D renderTarget, IGameContext gameContext ) : bool
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
gameContext IGameContext
return bool

UpdateCustomRenderTarget() public method

public UpdateCustomRenderTarget ( RenderTarget2D renderTarget, IGameContext gameContext, SurfaceFormat surfaceFormat, DepthFormat depthFormat, int multiSampleCount ) : RenderTarget2D
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
gameContext IGameContext
surfaceFormat SurfaceFormat
depthFormat DepthFormat
multiSampleCount int
return Microsoft.Xna.Framework.Graphics.RenderTarget2D

UpdateRenderTarget() public method

public UpdateRenderTarget ( RenderTarget2D renderTarget, IGameContext gameContext ) : RenderTarget2D
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
gameContext IGameContext
return Microsoft.Xna.Framework.Graphics.RenderTarget2D