feat: getTexturePtr

This commit is contained in:
Kingtous 2023-02-18 00:53:26 +08:00
parent 1a164ee5a0
commit 0f59fef831
5 changed files with 32 additions and 4 deletions

View file

@ -25,4 +25,8 @@ class TextureRgbaRenderer {
return TextureRgbaRendererPlatform.instance
.onRgba(key, data, height, width);
}
Future<int> getTexturePtr(int key) {
return TextureRgbaRendererPlatform.instance.getTexturePtr(key);
}
}