generateTexture method

Future<void> generateTexture()

Instantiates the actual texture on the device and stores its texture ID

Implementation

Future<void> generateTexture() async {
  textureId = (await _plugin.init(width, height))!;
}