Click or drag to resize
DigitalRuneBillboardRenderer Constructor (IGraphicsService, Int32, SpriteFont)
Initializes a new instance of the BillboardRenderer class.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public BillboardRenderer(
	IGraphicsService graphicsService,
	int bufferSize,
	SpriteFont spriteFont
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
bufferSize
Type: SystemInt32
The size of the internal buffer (= max number of billboards that can be rendered in a single draw call). Max allowed value is 16384.
spriteFont
Type: SpriteFont
The default font, which is used in case the font of a TextSprite is not set. Can be .
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService is .
ArgumentOutOfRangeExceptionbufferSize is 0, negative, or greater than MaxBufferSize.
See Also