CreateFromWriteableBitmap Method (original) (raw)

Summary

Creates a new instance of RasterRenderBuffer with the specified values from a Windows Runtime WriteableBitmap object.

Syntax

Parameters

pixelWidth
The pixel width of the bitmap. Set this to WriteableBitmap.PixelWidth. Must be a value greater than 0.

pixelHeight
The pixel height of the bitmap. Set this to WriteableBitmap.PixelHeight. Must be a value greater than 0.

pixelBuffer
The pixels data. Set this to WriteableBitmap.PixelBuffer. Must not be null.

Return Value

The newly created RasterRenderBuffer object.