Default2DBatchedRenderPassΒΆ
Warning
This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the I2DBatchedRenderPass service via dependency injection to access this functionality.
Information documented here may not be up to date.
-
class
Default2DBatchedRenderPass
: System.Object, I2DBatchedRenderPass, IRenderPass, Protogame.IRenderPassWithViewport The default implementation of an T:Protogame.I2DBatchedRenderPass.
-
readonly bool
IsPostProcessingPass
-
readonly bool
SkipWorldRenderBelow
-
readonly bool
SkipWorldRenderAbove
-
readonly bool
SkipEntityRender
-
readonly bool
SkipEngineHookRender
-
readonly string
EffectTechniqueName
-
System.Nullable<Viewport>
Viewport
-
SpriteSortMode
TextureSortMode
-
string
Name
-
public void
BeginRenderPass
(IGameContext gameContext, IRenderContext renderContext, IRenderPass previousPass, RenderTarget2D postProcessingSource) Parameters: - gameContext (Protogame.IGameContext) –
- renderContext (Protogame.IRenderContext) –
- previousPass (Protogame.IRenderPass) –
- postProcessingSource (Microsoft.Xna.Framework.Graphics.RenderTarget2D) –
-
public void
EndRenderPass
(IGameContext gameContext, IRenderContext renderContext, IRenderPass nextPass) Parameters: - gameContext (Protogame.IGameContext) –
- renderContext (Protogame.IRenderContext) –
- nextPass (Protogame.IRenderPass) –
-
readonly bool