|
||||||||||
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
public class BasicFilter
A basic filter that takes a texture as input and produces a texture as output. This class is a base class that can be extended to use custom vertex or fragment shaders. This class by itself is relatively useless because it will simpily produce the input texture as the output texture.
Field Summary |
---|
Fields inherited from class project.android.imageprocessing.GLRenderer |
---|
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD |
Constructor Summary | |
---|---|
BasicFilter()
|
Method Summary | |
---|---|
void |
newTextureReady(int texture,
GLTextureOutputRenderer source)
Signals that a new texture is available and the image should be reprocessed. |
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer |
---|
addTarget, destroy, 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 BasicFilter()
Method Detail |
---|
public void newTextureReady(int texture, GLTextureOutputRenderer source)
GLTextureInputRenderer
newTextureReady
in interface GLTextureInputRenderer
texture
- The texture id to be used as input.source
- The GLTextureOutputRenderer which produced the texture.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |