make swapChain an optional parameter when calling capture() (if not specified, first swapchain will be used)
This commit is contained in:
1 parent
48654f0e8f
commit
c3e583ac5a
1 file changed
+1
-1
@@ -259,7 +259,7 @@ abstract class FilamentApp<T> {
|
||||
///
|
||||
/// Pixel buffers will be returned in RGBA float32 format.
|
||||
///
|
||||
Future<List<(View, Uint8List)>> capture(covariant SwapChain swapChain,
|
||||
Future<List<(View, Uint8List)>> capture(covariant SwapChain? swapChain,
|
||||
{covariant View? view,
|
||||
bool captureRenderTarget = false,
|
||||
PixelDataFormat pixelDataFormat = PixelDataFormat.RGBA,
|
||||
|
||||
Reference in new issue
Block a user