createBitmaps function
Implementation
Future<int> createBitmaps(int width, int height) async {
int result = -1;
if (Platform.isAndroid) {
result = initTexturesAndroid(width, height);
} else if (Platform.isIOS) {
result = await initTexturesIosAsync(width, height);
}
return result;
}