C# Class Myre.Graphics.PostProcessing.Resample

Show file Open project: TomGillen/Myre Class Usage Examples

Public Methods

Method Description
Resample ( GraphicsDevice device ) : System
Scale ( RenderTarget2D source, RenderTarget2D destination ) : void

Private Methods

Method Description
Draw ( RenderTarget2D input, RenderTarget2D output ) : void
IntermediateNeeded ( Vector2 currentResolution, RenderTarget2D target, float scale ) : bool

Method Details

Resample() public method

public Resample ( GraphicsDevice device ) : System
device GraphicsDevice
return System

Scale() public method

public Scale ( RenderTarget2D source, RenderTarget2D destination ) : void
source Microsoft.Xna.Framework.Graphics.RenderTarget2D
destination Microsoft.Xna.Framework.Graphics.RenderTarget2D
return void