| LensFlareRenderer Constructor (IGraphicsService, SpriteBatch) |
Note: This API is now obsolete.
Namespace: DigitalRune.Graphics.RenderingAssembly: 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
)
<ObsoleteAttribute("It is no longer necessary to specify a SpriteBatch.")>
Public Sub New (
graphicsService As IGraphicsService,
spriteBatch As SpriteBatch
)
public:
[ObsoleteAttribute(L"It is no longer necessary to specify a SpriteBatch.")]
LensFlareRenderer(
IGraphicsService^ graphicsService,
SpriteBatch^ spriteBatch
)
[<ObsoleteAttribute("It is no longer necessary to specify a SpriteBatch.")>]
new :
graphicsService : IGraphicsService *
spriteBatch : SpriteBatch -> LensFlareRenderer
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service. - spriteBatch
- Type: SpriteBatch
The sprite batch used for rendering. Can be .
Exceptions See Also