C# Class Protogame.DefaultGraphicsBlit

A default implementation of IGraphicsBlit.
Inheritance: IGraphicsBlit
ファイルを表示 Open project: RedpointGames/Protogame

Public Methods

Method Description
Blit ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destination = null, IEffect shader = null, IEffectParameterSet effectParameterSet = null, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
BlitMRT ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destinations, IEffect shader, IEffectParameterSet effectParameterSet, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
DefaultGraphicsBlit ( IAssetManagerProvider assetManagerProvider ) : Microsoft.Xna.Framework

Private Methods

Method Description
BlitInternal ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destinations = null, IEffect shader = null, IEffectParameterSet effectParameterSet = null, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void

Method Details

Blit() public method

public Blit ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destination = null, IEffect shader = null, IEffectParameterSet effectParameterSet = null, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
renderContext IRenderContext
source Microsoft.Xna.Framework.Graphics.Texture2D
destination Microsoft.Xna.Framework.Graphics.RenderTarget2D
shader IEffect
effectParameterSet IEffectParameterSet
blendState Microsoft.Xna.Framework.Graphics.BlendState
offset Microsoft.Xna.Framework.Vector2
size Microsoft.Xna.Framework.Vector2
return void

BlitMRT() public method

public BlitMRT ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destinations, IEffect shader, IEffectParameterSet effectParameterSet, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
renderContext IRenderContext
source Microsoft.Xna.Framework.Graphics.Texture2D
destinations Microsoft.Xna.Framework.Graphics.RenderTarget2D
shader IEffect
effectParameterSet IEffectParameterSet
blendState Microsoft.Xna.Framework.Graphics.BlendState
offset Microsoft.Xna.Framework.Vector2
size Microsoft.Xna.Framework.Vector2
return void

DefaultGraphicsBlit() public method

public DefaultGraphicsBlit ( IAssetManagerProvider assetManagerProvider ) : Microsoft.Xna.Framework
assetManagerProvider IAssetManagerProvider
return Microsoft.Xna.Framework