Skip to main content

Module native_import

Module native_import 

Source
Expand description

Platform importers for the external-texture frame bus: the per-platform NativeImporter implementations that wrap a frust-gpu zero-copy import (a CVPixelBuffer on Apple, an AHardwareBuffer on Android) so a plugin’s native frame draws as a scene texture without a copy. Each platform half lives behind its own cfg; on every other target the module is empty and install is a no-op.

Functions§

install
Install the importers this platform supports for the given render context, once per process. Safe to call every frame; later calls do nothing.