C# Class Protogame.DefaultCustomPostProcessingRenderPass

A default implementation of ICustomPostProcessingRenderPass.
Inheritance: ICustomPostProcessingRenderPass
Mostra file Open project: RedpointGames/Protogame

Public Methods

Method Description
BeginRenderPass ( IGameContext gameContext, IRenderContext renderContext, IRenderPass previousPass, RenderTarget2D postProcessingSource ) : void
DefaultCustomPostProcessingRenderPass ( IGraphicsBlit graphicsBlit, EffectAsset effectAsset ) : Microsoft.Xna.Framework
DefaultCustomPostProcessingRenderPass ( IGraphicsBlit graphicsBlit, IAssetManagerProvider assetManagerProvider, string effectAssetName ) : Microsoft.Xna.Framework
DefaultCustomPostProcessingRenderPass ( IGraphicsBlit graphicsBlit, IEffect effect ) : Microsoft.Xna.Framework
EndRenderPass ( IGameContext gameContext, IRenderContext renderContext, IRenderPass nextPass ) : void
SetValue ( string name, Matrix value ) : void
SetValue ( string name, Microsoft.Xna.Framework.Quaternion value ) : void
SetValue ( string name, Texture value ) : void
SetValue ( string name, Vector2 value ) : void
SetValue ( string name, Microsoft.Xna.Framework.Vector3 value ) : void
SetValue ( string name, Vector4 value ) : void
SetValue ( string name, bool value ) : void
SetValue ( string name, float value ) : void
SetValue ( string name, int value ) : void

Method Details

BeginRenderPass() public method

public BeginRenderPass ( IGameContext gameContext, IRenderContext renderContext, IRenderPass previousPass, RenderTarget2D postProcessingSource ) : void
gameContext IGameContext
renderContext IRenderContext
previousPass IRenderPass
postProcessingSource Microsoft.Xna.Framework.Graphics.RenderTarget2D
return void

DefaultCustomPostProcessingRenderPass() public method

public DefaultCustomPostProcessingRenderPass ( IGraphicsBlit graphicsBlit, EffectAsset effectAsset ) : Microsoft.Xna.Framework
graphicsBlit IGraphicsBlit
effectAsset EffectAsset
return Microsoft.Xna.Framework

DefaultCustomPostProcessingRenderPass() public method

public DefaultCustomPostProcessingRenderPass ( IGraphicsBlit graphicsBlit, IAssetManagerProvider assetManagerProvider, string effectAssetName ) : Microsoft.Xna.Framework
graphicsBlit IGraphicsBlit
assetManagerProvider IAssetManagerProvider
effectAssetName string
return Microsoft.Xna.Framework

DefaultCustomPostProcessingRenderPass() public method

public DefaultCustomPostProcessingRenderPass ( IGraphicsBlit graphicsBlit, IEffect effect ) : Microsoft.Xna.Framework
graphicsBlit IGraphicsBlit
effect IEffect
return Microsoft.Xna.Framework

EndRenderPass() public method

public EndRenderPass ( IGameContext gameContext, IRenderContext renderContext, IRenderPass nextPass ) : void
gameContext IGameContext
renderContext IRenderContext
nextPass IRenderPass
return void

SetValue() public method

public SetValue ( string name, Matrix value ) : void
name string
value Microsoft.Xna.Framework.Matrix
return void

SetValue() public method

public SetValue ( string name, Microsoft.Xna.Framework.Quaternion value ) : void
name string
value Microsoft.Xna.Framework.Quaternion
return void

SetValue() public method

public SetValue ( string name, Texture value ) : void
name string
value Microsoft.Xna.Framework.Graphics.Texture
return void

SetValue() public method

public SetValue ( string name, Vector2 value ) : void
name string
value Microsoft.Xna.Framework.Vector2
return void

SetValue() public method

public SetValue ( string name, Microsoft.Xna.Framework.Vector3 value ) : void
name string
value Microsoft.Xna.Framework.Vector3
return void

SetValue() public method

public SetValue ( string name, Vector4 value ) : void
name string
value Microsoft.Xna.Framework.Vector4
return void

SetValue() public method

public SetValue ( string name, bool value ) : void
name string
value bool
return void

SetValue() public method

public SetValue ( string name, float value ) : void
name string
value float
return void

SetValue() public method

public SetValue ( string name, int value ) : void
name string
value int
return void