BufferFactory.CreateFromBuffer Method (IBuffer, CoreDispatcher)

Create an IBuffer that wraps another IBuffer, making sure that the inner IBuffer is accessed using the provided CoreDispatcher. Currently only the retreival of IBufferByteAccess is handled, which is enough for WriteableBitmap.

Namespace: Lumia.InteropServices.WindowsRuntime
Assembly: Lumia.InteropServices.WindowsRuntime (in Lumia.InteropServices.WindowsRuntime.dll) Version: 255.255.255.255

Lumia.InteropServices.WindowsRuntime.BufferFactory.CreateFromBuffer = function(buffer, dispatcher);

Parameters

buffer
Type: Windows.Storage.Streams.IBuffer
The source buffer.
dispatcher
Type: Windows.UI.Core.CoreDispatcher
CoreDispatcher used when accessing the source buffer.

Return Value

Type: IBuffer
The wrapping buffer.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: