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

Syntax

IBuffer ProvideSourceBuffer(
    Size imageSize
)
'Declaration
Function ProvideSourceBuffer ( 
    imageSize As Size
) As IBuffer
IBuffer^ ProvideSourceBuffer(
    [InAttribute] Size imageSize
)
function ProvideSourceBuffer(imageSize);

Parameters

Return Value

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

Remarks

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.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

ICustomEffect Interface

ICustomEffect.ICustomEffect Members

Lumia.Imaging.Custom Namespace