![]() |
Paradox Game Engine
v1.0.0 beta06
|
This Renderer is responsible to prepare and render sprites for a specific pass. More...
Public Member Functions | |
SpriteRenderer (IServiceRegistry services) | |
override void | Load () |
Loads this instance. This method is called when a RenderPass is attached (directly or indirectly) to the children of SiliconStudio.Paradox.Effects.RenderSystem.Pipeline More... | |
override void | Unload () |
Unloads this instance. This method is called when a RenderPass is de-attached (directly or indirectly) to the children of SiliconStudio.Paradox.Effects.RenderSystem.Pipeline More... | |
Protected Member Functions | |
override void | OnRendering (RenderContext context) |
![]() | |
Renderer (IServiceRegistry services) | |
Initializes a new instance of the Renderer class. More... | |
virtual void | BeginRendering (RenderContext context) |
virtual void | EndRendering (RenderContext context) |
Additional Inherited Members | |
![]() | |
IServiceRegistry | Services [get, set] |
Gets the services. More... | |
GraphicsDevice | GraphicsDevice [get] |
Gets the graphics device. More... | |
RenderSystem | RenderSystem [get, set] |
Gets the render system. More... | |
EffectSystem | EffectSystem [get, set] |
Gets the effect system. More... | |
RenderPass | Pass [get, set] |
Gets the pass this processor is attached to. More... | |
string | DebugName [get, set] |
Gets or sets the name of the debug. More... | |
This Renderer is responsible to prepare and render sprites for a specific pass.
Definition at line 20 of file SpriteRenderer.cs.
SiliconStudio.Paradox.Effects.SpriteRenderer.SpriteRenderer | ( | IServiceRegistry | services | ) |
Definition at line 32 of file SpriteRenderer.cs.
|
virtual |
Loads this instance. This method is called when a RenderPass is attached (directly or indirectly) to the children of SiliconStudio.Paradox.Effects.RenderSystem.Pipeline
Reimplemented from SiliconStudio.Paradox.Effects.Renderer.
Definition at line 44 of file SpriteRenderer.cs.
|
protectedvirtual |
Reimplemented from SiliconStudio.Paradox.Effects.Renderer.
Definition at line 67 of file SpriteRenderer.cs.
References SiliconStudio.Paradox.Graphics.BlendStateFactory.AlphaBlend, SiliconStudio.Paradox.Graphics.GraphicsDevice.BlendStates, and SiliconStudio.Paradox.Graphics.BlendStateFactory.Opaque.
|
virtual |
Unloads this instance. This method is called when a RenderPass is de-attached (directly or indirectly) to the children of SiliconStudio.Paradox.Effects.RenderSystem.Pipeline
Reimplemented from SiliconStudio.Paradox.Effects.Renderer.
Definition at line 56 of file SpriteRenderer.cs.