mirror of
https://github.com/expo/gl-react-native.git
synced 2026-11-15 17:34:35 -10:00
17 lines
342 B
Objective-C
17 lines
342 B
Objective-C
|
|
#import "RCTBridge.h"
|
|
#import "GLTexture.h"
|
|
#import "RCTImageSource.h"
|
|
|
|
@interface GLImage: NSObject
|
|
|
|
@property (nonatomic, copy) RCTImageSource *source;
|
|
@property (nonatomic) UIImage *image;
|
|
|
|
|
|
- (instancetype)initWithBridge:(RCTBridge *)bridge withOnLoad:(void (^)(void))onload NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (GLTexture *) getTexture;
|
|
|
|
@end
|