feat: add onRgba c api on windows

This commit is contained in:
Kingtous 2023-02-18 00:34:46 +08:00
parent 71e77ef3cf
commit 1a164ee5a0
9 changed files with 93 additions and 35 deletions

View file

@ -16,6 +16,8 @@ extern "C" {
FLUTTER_PLUGIN_EXPORT void TextureRgbaRendererPluginCApiRegisterWithRegistrar(
FlutterDesktopPluginRegistrarRef registrar);
FLUTTER_PLUGIN_EXPORT void FlutterRgbaRendererPluginOnRgba(void* texture_rgba, const uint8_t* buffer, int width, int height);
#if defined(__cplusplus)
} // extern "C"
#endif