zoukankan      html  css  js  c++  java
  • GPUImage API文档之GPUImageInput协议

      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

  • 相关阅读:
    【布局】483- 推荐 15 种水平垂直居中布局方案
    【Web技术】482- 浏览器将标签转成 DOM 的过程
    int和Integer的区别
    Rendom类
    java注释
    linux
    AI
    重载和重写
    Iterator接口
    集合和数组的区别
  • 原文地址:https://www.cnblogs.com/salam/p/4966589.html
Copyright © 2011-2022 走看看