GPUImageInput协议主要包含一些输入需要渲染目标的操作。 - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex 说明:准备下一个要使用的新帧 - (v ...
GPUImageInput协议主要包含一些输入需要渲染目标的操作。
- (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex
说明:准备下一个要使用的新帧
- (void)setInputFramebuffer:(GPUImageFramebuffer *)newInputFramebuffer atIndex:(NSInteger)textureIndex
说明:设置新的帧缓冲对象
- (NSInteger)nextAvailableTextureIndex
说明:下一个有效的纹理索引
- (void)setInputSize:(CGSize)newSize atIndex:(NSInteger)textureIndex
设置需要渲染目标的尺寸
- (void)setInputRotation:(GPUImageRotationMode)newInputRotation atIndex:(NSInteger)textureIndex
说明:设置旋转模式
- (CGSize)maximumOutputSize
说明:输出缓冲区的最大尺寸
- (void)endProcessing
说明:输入处理结束
- (BOOL)shouldIgnoreUpdatesToThisTarget
说明:是否应该忽略渲染目标的更新
- (BOOL)enabled
说明:是否启用渲染目标
- (BOOL)wantsMonochromeInput
说明:是否为单色输入
- (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue
海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com
原标题:GPUImage API文档之GPUImageInput协议
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。