GPUImageInput protocol for GPUImage API documentation, gpuimage
The GPUImageInput protocol mainly contains some operations for the input to be rendered.
-(Void) newFrameReadyAtTime :( CMTime) frameTime atIndex :( NSInteger) textureIndex
Note: prepare the next frame to be used.
-(Void) setInputFramebuffer :( GPUImageFramebuffer *) newInputFramebuffer atIndex :( NSInteger) textureIndex
Sets a new frame buffer object.
-(NSInteger) nextAvailableTextureIndex
Note: The next Effective Texture Index
-(Void) setInputSize :( CGSize) newSize atIndex :( NSInteger) textureIndex
Set the size of the target to be rendered
-(Void) setInputRotation :( GPUImageRotationMode) newInputRotation atIndex :( NSInteger) textureIndex
Sets the rotation mode.
-(CGSize) maximumOutputSize
Description: maximum size of the output buffer.
-(Void) endProcessing
Description: The input processing is complete.
-(BOOL) shouldIgnoreUpdatesToThisTarget
Note: whether to ignore the update of the rendering target.
-(BOOL) enabled
Indicates whether to enable the rendering target.
-(BOOL) wantsMonochromeInput
Description: whether it is a monochrome input.
-(Void) setCurrentlyReceivingMonochromeInput :( BOOL) newValue