|
||||||||||
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
public abstract class GLTextureOutputRenderer
A output producing extension of GLRenderer. This class produces its output in the form of a texture and then sends that texture to all of the filters or endpoints that have been added as targets to this renderer.
Field Summary |
---|
Fields inherited from class project.android.imageprocessing.GLRenderer |
---|
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD |
Constructor Summary | |
---|---|
GLTextureOutputRenderer()
Creates a GLTextureOutputRenderer which initially has an empty list of targets. |
Method Summary | |
---|---|
void |
addTarget(GLTextureInputRenderer target)
Adds the given target to the list of targets that this renderer sends its output to. |
void |
destroy()
Cleans up the opengl objects for this renderer. |
java.lang.Object |
getLockObject()
Returns the object used to lock the target list. |
java.util.List<GLTextureInputRenderer> |
getTargets()
Returns a list of all the targets that this renderer should send its output to. |
void |
removeTarget(GLTextureInputRenderer target)
Removes the given target from the list of targets that this renderer sends its output to. |
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 GLTextureOutputRenderer()
Method Detail |
---|
public void addTarget(GLTextureInputRenderer target)
target
- The target which should be added to the list of targets that this renderer sends its output to.public void destroy()
GLRenderer
FastImageProcessingPipeline
.
destroy
in class GLRenderer
public java.lang.Object getLockObject()
public java.util.List<GLTextureInputRenderer> getTargets()
public void removeTarget(GLTextureInputRenderer target)
target
- The target which should be removed from the list of targets that this renderer sends its output to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |