Upload

class Upload(val ptr: NativePointer, val size: Int, val callback: NativePointer, val userData: NativePointer)

size bytes of an array handed to an asynchronous set*Buffer/setImage: pass all four fields to the C call. Filament's release callback drops the copy (unpins on Native), then runs the upload's onRelease.

Constructors

Link copied to clipboard
constructor(ptr: NativePointer, size: Int, callback: NativePointer, userData: NativePointer)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard