project.android.imageprocessing.filter
Class MultiInputPixelFilter

java.lang.Object
  extended by project.android.imageprocessing.GLRenderer
      extended by project.android.imageprocessing.input.GLTextureOutputRenderer
          extended by project.android.imageprocessing.filter.BasicFilter
              extended by project.android.imageprocessing.filter.MultiInputFilter
                  extended by project.android.imageprocessing.filter.MultiInputPixelFilter
All Implemented Interfaces:
GLTextureInputRenderer
Direct Known Subclasses:
CompositeMultiPixelFilter

public class MultiInputPixelFilter
extends MultiInputFilter

An extension of MultiInputFilter. This class allows for multi-pixel access on multiple inputs. For more details on setup of this class and usage see MultiInputFilter and MultiPixelRenderer.

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
MultiInputPixelFilter(int numOfInputs)
          Creates a MultiInputPixelFilter that passes the texel width and height information to the shaders and accepts a given textures as input.
 
Method Summary
 
Methods inherited from class project.android.imageprocessing.filter.MultiInputFilter
clearRegisteredFilterLocations, newTextureReady, registerFilterLocation, registerFilterLocation
 
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

MultiInputPixelFilter

public MultiInputPixelFilter(int numOfInputs)
Creates a MultiInputPixelFilter that passes the texel width and height information to the shaders and accepts a given textures as input.

Parameters:
numOfInputs - The number of input textures used by the fragment shader.