public class GPUImageRGBFilter extends GPUImageFilter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RGB_FRAGMENT_SHADER |
NO_FILTER_FRAGMENT_SHADER, NO_FILTER_VERTEX_SHADER| Constructor and Description |
|---|
GPUImageRGBFilter() |
GPUImageRGBFilter(float red,
float green,
float blue) |
| Modifier and Type | Method and Description |
|---|---|
void |
onInit() |
void |
onInitialized() |
void |
setBlue(float blue) |
void |
setGreen(float green) |
void |
setRed(float red) |
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 RGB_FRAGMENT_SHADER
public GPUImageRGBFilter()
public GPUImageRGBFilter(float red,
float green,
float blue)
public void onInit()
onInit in class GPUImageFilterpublic void onInitialized()
onInitialized in class GPUImageFilterpublic void setRed(float red)
public void setGreen(float green)
public void setBlue(float blue)