WhiteLevelAdjustmentEffectInvalidateSourceRectangle Method |
Namespace: Microsoft.Graphics.Canvas.Effects
public void InvalidateSourceRectangle( ICanvasResourceCreatorWithDpi resourceCreator, uint sourceIndex, Rect invalidRectangle )
This API is only available when running on Windows 10 build 17763 (October 2018) or greater.
When CacheOutput is enabled, this method can be used to invalidate the cache.
It is also used to populate a list of invalid regions which are propagated through the effect graph, mapped from source to output coordinate systems, and can then be queried by GetInvalidRectangles(ICanvasResourceCreatorWithDpi).