Gives access to the pixels of a WriteableBitmap given an IBuffer exposed by Pixels property.
Note that creating this object copies the pixels buffer into the Bytes byte array for quick pixel access and the array needs to be copied back to the pixels buffer to update the bitmap with a call to UpdateFromBytes(). This is acceptable for convenience and possibly best for performance in some scenarios, but it does add some upfront overhead as well overhead to update the bitmap at the end. This is only a theory and for better performance it might be good to test different approaches. The goal of this approach is code simplicity. For best performance using native code and/or DirectX is recommended.