GPUImageTextureOutput.h 549 B

123456789101112131415161718192021
  1. #import <Foundation/Foundation.h>
  2. #import "GPUImageContext.h"
  3. @protocol GPUImageTextureOutputDelegate;
  4. @interface GPUImageTextureOutput : NSObject <GPUImageInput>
  5. {
  6. GPUImageFramebuffer *firstInputFramebuffer;
  7. }
  8. @property(readwrite, unsafe_unretained, nonatomic) id<GPUImageTextureOutputDelegate> delegate;
  9. @property(readonly) GLuint texture;
  10. @property(nonatomic) BOOL enabled;
  11. - (void)doneWithTexture;
  12. @end
  13. @protocol GPUImageTextureOutputDelegate
  14. - (void)newFrameReadyFromTextureOutput:(GPUImageTextureOutput *)callbackTextureOutput;
  15. @end