Package 

Class LomoishFilter

  • All Implemented Interfaces:
    com.otaliastudios.cameraview.filter.Filter

    
    public class LomoishFilter
    extends BaseFilter
                        

    Applies a lomo-camera style effect to the input frames.

    • Constructor Summary

      Constructors 
      Constructor Description
      LomoishFilter()
    • Method Summary

      Modifier and Type Method Description
      void setSize(int width, int height) Called anytime the output size changes.
      String getFragmentShader() Returns a String containing the fragment shader.
      void onCreate(int programHandle) The filter program was just created.
      void onDestroy() The filter program is about to be destroyed.
      • Methods inherited from class com.otaliastudios.cameraview.filter.BaseFilter

        copy, draw, getVertexShader
      • Methods inherited from class com.otaliastudios.cameraview.filter.Filter

        copy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LomoishFilter

        LomoishFilter()
    • Method Detail

      • setSize

         void setSize(int width, int height)

        Called anytime the output size changes.

        Parameters:
        width - width
        height - height
      • onCreate

         void onCreate(int programHandle)

        The filter program was just created. We pass in a handle to the OpenGLprogram that was created, so you can fetch pointers.

        Parameters:
        programHandle - handle
      • onDestroy

         void onDestroy()

        The filter program is about to be destroyed.