GPUImageInput protocol for GPUImage API documentation, gpuimage

Source: Internet
Author: User

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

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.