Table of Contents

Method LockBgra32

Namespace
PaintDotNet.Effects
Assembly
PaintDotNet.Effects.Core.dll

LockBgra32(IBitmapEffectOutput)

Gets the buffer for writing the effect's output to. The origin of the buffer (that is, x=0 y=0) corresponds to the Bounds's Location property. Bgra32 is used as the pixel format.

public static IBitmapLock<ColorBgra32> LockBgra32(this IBitmapEffectOutput output)

Parameters

output IBitmapEffectOutput

Returns

IBitmapLock<ColorBgra32>

Remarks

You may use the AsRegionPtr<TPixel>(IBitmapLock<TPixel>) to simplify access to the IBitmapLock<TPixel>