3 using SiliconStudio.Core;
4 using SiliconStudio.Paradox.Graphics;
6 namespace SiliconStudio.
Paradox.Effects
42 public override void Load()
45 Pass.EndPass += EndPass;
52 Pass.EndPass -= EndPass;
57 var graphicsParameters = context.GraphicsDevice.Parameters;
64 graphicsParameters.Set(Effect.BlendStateKey,
BlendState);
72 var graphicsParameters = context.GraphicsDevice.Parameters;
76 graphicsParameters.Reset(Effect.DepthStencilStateKey);
79 graphicsParameters.Reset(Effect.BlendStateKey);
82 graphicsParameters.Reset(Effect.RasterizerStateKey);
Contains depth-stencil state for the device.
override void Load()
Loads this instance. This method is called when a RenderPass is attached (directly or indirectly) to ...
RenderStateSetter(IServiceRegistry services)
Performs render pipeline transformations attached to a specific RenderPass.
A service registry is a IServiceProvider that provides methods to register and unregister services...
Thread-local storage context used during rendering.
override void OnRendering(RenderContext context)
Sets given render state during rendering.
override void Unload()
Unloads this instance. This method is called when a RenderPass is de-attached (directly or indirectly...