public class GPUImageFalseColorFilter extends GPUImageFilter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FALSECOLOR_FRAGMENT_SHADER |
NO_FILTER_FRAGMENT_SHADER, NO_FILTER_VERTEX_SHADER| Constructor and Description |
|---|
GPUImageFalseColorFilter() |
GPUImageFalseColorFilter(float[] firstColor,
float[] secondColor) |
GPUImageFalseColorFilter(float firstRed,
float firstGreen,
float firstBlue,
float secondRed,
float secondGreen,
float secondBlue) |
| Modifier and Type | Method and Description |
|---|---|
void |
onInit() |
void |
onInitialized() |
void |
setFirstColor(float[] firstColor) |
void |
setSecondColor(float[] secondColor) |
convertStreamToString, destroy, getAttribPosition, getAttribTextureCoordinate, getOutputHeight, getOutputWidth, getProgram, getUniformTexture, ifNeedInit, isInitialized, loadShader, onDestroy, onDraw, onDrawArraysPre, onOutputSizeChanged, runOnDraw, runPendingOnDrawTasks, setFloat, setFloatArray, setFloatVec2, setFloatVec3, setFloatVec4, setInteger, setPoint, setUniformMatrix3f, setUniformMatrix4fpublic static final java.lang.String FALSECOLOR_FRAGMENT_SHADER
public GPUImageFalseColorFilter()
public GPUImageFalseColorFilter(float firstRed,
float firstGreen,
float firstBlue,
float secondRed,
float secondGreen,
float secondBlue)
public GPUImageFalseColorFilter(float[] firstColor,
float[] secondColor)
public void onInit()
onInit in class GPUImageFilterpublic void onInitialized()
onInitialized in class GPUImageFilterpublic void setFirstColor(float[] firstColor)
public void setSecondColor(float[] secondColor)