Click or drag to resize
DigitalRuneShadowMaskRenderer Constructor (IGraphicsService, Int32)
Initializes a new instance of the ShadowMaskRenderer class with the specified number of shadow masks.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public ShadowMaskRenderer(
	IGraphicsService graphicsService,
	int maxNumberOfShadowMasks
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
maxNumberOfShadowMasks
Type: SystemInt32
The max number of shadow masks.
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService is .
ArgumentOutOfRangeExceptionmaxNumberOfShadowMasks is negative or greater than 255.
See Also