texture_rgba_renderer.dart 416 B

123456789101112131415161718192021
  1. import 'dart:typed_data';
  2. class TextureRgbaRenderer {
  3. Future<int> createTexture(int key) {
  4. throw UnimplementedError();
  5. }
  6. Future<bool> closeTexture(int key) {
  7. return Future(() => true);
  8. }
  9. Future<bool> onRgba(
  10. int key, Uint8List data, int height, int width, int strideAlign) {
  11. throw UnimplementedError();
  12. }
  13. Future<int> getTexturePtr(int key) {
  14. throw UnimplementedError();
  15. }
  16. }