#import #import #import @interface TGVideoCameraGLRenderer : NSObject @property (nonatomic, readonly) __attribute__((NSObject)) CMFormatDescriptionRef outputFormatDescription; @property (nonatomic, assign) AVCaptureVideoOrientation orientation; @property (nonatomic, assign) bool mirror; @property (nonatomic, assign) CGFloat opacity; @property (nonatomic, readonly) bool hasPreviousPixelbuffer; - (void)prepareForInputWithFormatDescription:(CMFormatDescriptionRef)inputFormatDescription outputRetainedBufferCountHint:(size_t)outputRetainedBufferCountHint; - (void)reset; - (CVPixelBufferRef)copyRenderedPixelBuffer:(CVPixelBufferRef)pixelBuffer; - (void)setPreviousPixelBuffer:(CVPixelBufferRef)previousPixelBuffer; @end