generateTexture method
Instantiates the actual texture on the device and stores its texture ID
Implementation
Future<void> generateTexture() async {
textureId = (await _plugin.init(width, height))!;
}
Instantiates the actual texture on the device and stores its texture ID
Future<void> generateTexture() async {
textureId = (await _plugin.init(width, height))!;
}