Method GetEffectInvalidRectangles
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
GetEffectInvalidRectangles(IDeviceEffect)
Gets the invalid rectangles that have accumulated since the last time the effect was drawn and EndDraw() was then called on the device context.
IReadOnlyList<RectFloat> GetEffectInvalidRectangles(IDeviceEffect effect)
Parameters
effect
IDeviceEffectThe effect to get the invalid rectangles from.
Returns
- IReadOnlyList<RectFloat>
The invalid rectangles for the effect.
Remarks
Note: Direct2D does not automatically use these invalid rectangles to reduce the region of an effect that is rendered.
You can use the InvalidateEffectInputRectangle(IDeviceEffect, int, RectFloat) method to specify invalidated rectangles for Direct2D to propagate through an effect graph.