mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
25 lines
625 B
Objective-C
Executable File
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
|