KSYGPUTwoInputFiter Class Reference

Inherits from GPUImageTwoInputFilter
Declared in KSYGPUTwoInputFiter.h

Overview

双输入滤镜

  1. 继承自GPUImageTwoInputFilter
  2. 添加了重新载入shader的接口

– reload:

重新载入加密的shader串

- (void)reload:(NSString *)fragmentShaderString

Parameters

fragmentShaderString

加密的片原shader

Declared In

KSYGPUTwoInputFiter.h

– reloadVS:andFS:

重新载入加密的shader串

- (void)reloadVS:(NSString *)vertexShaderString andFS:(NSString *)fragmentShaderString

Parameters

vertexShaderString

顶点shader(未加密)

fragmentShaderString

片原shader(加密的)

Declared In

KSYGPUTwoInputFiter.h