Click or drag to resize
DigitalRuneLensFlareRenderer Constructor (IGraphicsService, SpriteBatch)

Note: This API is now obsolete.

Initializes a new instance of the LensFlareRenderer class.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
[ObsoleteAttribute("It is no longer necessary to specify a SpriteBatch.")]
public LensFlareRenderer(
	IGraphicsService graphicsService,
	SpriteBatch spriteBatch
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
spriteBatch
Type: SpriteBatch
The sprite batch used for rendering. Can be .
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService is .
See Also