0 Replies Latest reply on Oct 9, 2015 7:19 AM by yakumoklesk

    Forcing bitmapInstance update after setBits (externally modified via native code)

    yakumoklesk

      I've been playing with the computeSum native example. I have added another function to get the bits of the image, set some pixels to one custom color, and returing the new bits.

       

      Somehow, the bitmapInstance is not updated. In the library though I can see how the image is modified. I would like to know if there is a way to force the update of the bitmap instance element in the scene.

       

      Thanks,

       

      David.