toNative method

Pointer<ResolvedConfigFfi> toNative(
  1. Arena arena
)

Implementation

Pointer<ResolvedConfigFfi> toNative(Arena arena) {
  final ptr = arena<ResolvedConfigFfi>();
  ptr.ref.width = width;
  ptr.ref.height = height;
  ptr.ref.fps = fps;
  ptr.ref.pixelFormat = pixelFormat;
  ptr.ref.videoHdrEnabled = videoHdrEnabled;
  ptr.ref.autoFocusSystem = autoFocusSystem;
  ptr.ref.active = active;
  return ptr;
}