Table of Contents

Method AsRegionPtr

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll

AsRegionPtr()

Provides access to the input image's output as a region of Vector4Floats. The origin (x=0, y=0) of this region corresponds to the top-left of the output region as defined by Location.

RegionPtr<Vector4Float> AsRegionPtr()

Returns

RegionPtr<Vector4Float>

Remarks

You can use the Cast<U>() method to reinterpret the data to the unmanaged struct type of your choosing.