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

  • 相关阅读:
    JS运算符
    JS基础
    0507-弹性盒子
    0506css3(2D、3D)动画
    CSS3边框
    0503-格式与布局
    0502-边框边界
    0502-其他html标签
    0428-专题块状元素
    mysql 数据库学习
  • 原文地址:https://www.cnblogs.com/salam/p/4966589.html
Copyright © 2011-2022 走看看