Class BlurEffect

java.lang.Object
com.castlabs.sdk.viisights.effects.BlurEffect
All Implemented Interfaces:
ShaderInterface

public class BlurEffect extends Object implements ShaderInterface
Implements a blur effect shader.
  • Constructor Details

    • BlurEffect

      public BlurEffect(int maskSize)
      Creates a new BlurEffect.
      Parameters:
      maskSize - The size of the blur mask.
  • Method Details

    • getShader

      public String getShader(GLSurfaceView mGlSurfaceView)
      Returns the shader string for the blur effect.
      Specified by:
      getShader in interface ShaderInterface
      Parameters:
      mGlSurfaceView - The GLSurfaceView to apply the shader to.
      Returns:
      The shader string.