createTexture method

  1. @override
Future<int> createTexture(
  1. int key
)
override

Implementation

@override
Future<int> createTexture(int key) async {
  return await methodChannel
          .invokeMethod<int>('createTexture', {"key": key}) ??
      -1;
}