ICustomEffect.ProvideSourceBuffer Method

Provide an IBuffer sufficiently sized to hold an image of the specified size.

Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

function ProvideSourceBuffer(imageSize);

Parameters

imageSize
Type: Windows.Foundation.Size
The size of the image.

Return Value

Type: IBuffer
An IBuffer of length 4 * imageSize.Width * imageSize.Height bytes.

A CustomEffectAdapter will call this before rendering if the size has changed since the last call.

This buffer will be filled with source pixels for the next call to Process.

Lumia Imaging SDK

Supported in: 2.0
Show: