public class GrainEffect extends java.lang.Object implements GSYVideoGLView.ShaderInterface
| 构造器和说明 |
|---|
GrainEffect(float strength)
Initialize Effect
|
public GrainEffect(float strength)
strength - Float, between 0 and 1. Zero means no distortion, while 1
indicates the maximum amount of adjustment.public java.lang.String getShader(android.opengl.GLSurfaceView mGlSurfaceView)
getShader 在接口中 GSYVideoGLView.ShaderInterface