public class DuotoneEffect extends java.lang.Object implements GSYVideoGLView.ShaderInterface
| 构造器和说明 |
|---|
DuotoneEffect(int mFirstColor,
int mSecondColor)
Initialize effect
|
public DuotoneEffect(int mFirstColor,
int mSecondColor)
mFirstColor - Integer, representing an ARGB color with 8 bits per channel.
May be created using Color class.mSecondColor - Integer, representing an ARGB color with 8 bits per channel.
May be created using Color class.public java.lang.String getShader(android.opengl.GLSurfaceView mGlSurfaceView)
getShader 在接口中 GSYVideoGLView.ShaderInterface