setAcquiredImage
fun setAcquiredImage(image: NativePointer, transform: FloatArray = IDENTITY, release: (image: NativePointer) -> Unit)
Updates an ACQUIRED stream with an image that is guaranteed to be used in the next frame.
Filament immediately "acquires" the image and calls release when it is done with it. Call this outside of beginFrame / endFrame, once per frame: if several images are pushed in one frame, only the last is used, but every callback fires.
Call it on the thread that calls Renderer.beginFrame, which is also where release runs.
Parameters
image
Platform image (e.g. an AHardwareBuffer on Android).
transform
Transform matrix applied to the image, as 9 floats (column-major 3x3); identity by default.
release
Called with image when Filament releases it.