KSYGPUFilter Class Reference

Inherits from GPUImageFilter
Declared in KSYGPUFilter.h

Overview

KSY的滤镜基类

  1. 继承自GPUImageFilter的基本类
  2. 添加了重新载入shader的接口

– init

构造

- (instancetype)init

Declared In

KSYGPUFilter.h

– reload:

重新载入纹理shader的代码

- (void)reload:(NSString *)fragmentShaderString

Parameters

fragmentShaderString

新的纹理shader的代码

Declared In

KSYGPUFilter.h