GPUImage源码解读(十七)
//实现了GPUImageTextureOutputDelegate协议的回调对象;
@property(readwrite, unsafe_unretained, nonatomic) id<GPUImageTextureOutputDelegate> delegate;
//OpenGL ES的纹理,只读;
@property(readonly) GLuint texture;
//enabled属性:是否有效,默认为有效;
@property(nonatomic) BOOL enabled;- (id)init;
{
if (!(self = [super init]))
{
return nil;
}
self.enabled = YES;
return self;
}Last updated