Swiftgram/submodules/LegacyComponents/Sources/GPUImageTextureOutput.h
Ilya Laktyushin 7741978b7e Video Editing
2020-05-23 13:26:53 +03:00

25 lines
625 B
Objective-C
Executable File

#import <Foundation/Foundation.h>
#import <CoreImage/CoreImage.h>
#import "GPUImageContext.h"
@protocol GPUImageTextureOutputDelegate;
@interface GPUImageTextureOutput : NSObject <GPUImageInput>
{
GPUImageFramebuffer *firstInputFramebuffer;
}
@property(readwrite, unsafe_unretained, nonatomic) id<GPUImageTextureOutputDelegate> delegate;
@property(readonly) GLuint texture;
@property(nonatomic) BOOL enabled;
- (CIImage *)CIImageWithSize:(CGSize)size;
- (void)doneWithTexture;
@end
@protocol GPUImageTextureOutputDelegate
- (void)newFrameReadyFromTextureOutput:(GPUImageTextureOutput *)callbackTextureOutput;
@end