move FFISwapChain to own file

This commit is contained in:
Nick Fisher
2025-03-17 16:39:28 +08:00
parent 03c4afb031
commit 09b6aca08f

View File

@@ -0,0 +1,11 @@
import 'dart:ffi';
import 'package:thermion_dart/src/viewer/src/ffi/src/callbacks.dart';
import 'package:thermion_dart/thermion_dart.dart';
class FFISwapChain extends SwapChain {
final Pointer<TSwapChain> swapChain;
final Pointer<TViewer> viewer;
FFISwapChain(this.swapChain, this.viewer);
}