|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproject.android.imageprocessing.GLRenderer
project.android.imageprocessing.input.GLTextureOutputRenderer
project.android.imageprocessing.filter.BasicFilter
project.android.imageprocessing.filter.TwoPassFilter
public class TwoPassFilter
An extension of BasicFilter. This class allows for a filter program to be applied twice to a given input. The same fragment and vertex shaders will be used for both of the passes. Also the same values will be passed for both passes unless specifically changed. To check which pass is currently being run during passShaderValues(), getCurrentPass() can be called. The current pass will either be 1 or 2.
Field Summary |
---|
Fields inherited from class project.android.imageprocessing.GLRenderer |
---|
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD |
Constructor Summary | |
---|---|
TwoPassFilter()
|
Method Summary | |
---|---|
void |
destroy()
Cleans up the opengl objects for this renderer. |
Methods inherited from class project.android.imageprocessing.filter.BasicFilter |
---|
newTextureReady |
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer |
---|
addTarget, getLockObject, getTargets, removeTarget |
Methods inherited from class project.android.imageprocessing.GLRenderer |
---|
getBackgroundAlpha, getBackgroundBlue, getBackgroundGreen, getBackgroundRed, getHeight, getWidth, onDrawFrame, reInitialize, rotateClockwise90Degrees, rotateCounterClockwise90Degrees, setBackgroundAlpha, setBackgroundBlue, setBackgroundColour, setBackgroundGreen, setBackgroundRed, setRenderSize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwoPassFilter()
Method Detail |
---|
public void destroy()
GLRenderer
FastImageProcessingPipeline
.
destroy
in class GLTextureOutputRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |