acquireTexture method

  1. @override
Future<int> acquireTexture(
  1. String id,
  2. int width,
  3. int height
)
override

(Experiment) to acquire photo texture using GPU

id image ID width width of save image height height of save image

Implementation

@override
Future<int> acquireTexture(String id, int width, int height) =>
    _invokeMethod<int>(
      method: Functions.acquireTexture,
      arguments: {
        Arguments.id: id,
        Arguments.width: width,
        Arguments.height: height
      },
    );