Package-level declarations
Types
Link copied to clipboard
Content read back from a GlobalTensor.
Functions
Link copied to clipboard
If a GlobalTensor is a dynamic-texture one, you can use this method to read it back as a TextureResource-compatible dynamic texture. You can use the dynamic texture as maps in your application's material, so that when the tensor's content is changed by SpatialML framework, the materials using the returned dynamic texture will all be updated automatically.
Link copied to clipboard
@RequiresApi(value = 27)
The suspend version of readbackAsTextureResource.
Link copied to clipboard
Read the content back from a GlobalTensor in SpatialML framework. This method may block your calling thread for a while to wait for the running pipelines which are currently writing to the GlobalTensor to finish.
Link copied to clipboard
Suspend version of readbackContent because the readback may block the calling thread.