create static method
Implementation
static FutureOr<PowerTextureImageInfo> create(
{int? textureId, int? width, int? height}) async {
if (dummy != null) {
return PowerTextureImageInfo(
textureId: textureId,
width: width,
height: height,
image: dummy!.clone());
}
dummy = await _createImage(1, 1);
return PowerTextureImageInfo(
textureId: textureId,
width: width,
height: height,
image: dummy!.clone());
}