Class BlurEffect
java.lang.Object
com.castlabs.sdk.viisights.effects.BlurEffect
- All Implemented Interfaces:
ShaderInterface
Implements a blur effect shader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetShader(GLSurfaceView mGlSurfaceView) Returns the shader string for the blur effect.
-
Constructor Details
-
BlurEffect
public BlurEffect(int maskSize) Creates a new BlurEffect.- Parameters:
maskSize- The size of the blur mask.
-
-
Method Details
-
getShader
Returns the shader string for the blur effect.- Specified by:
getShaderin interfaceShaderInterface- Parameters:
mGlSurfaceView- The GLSurfaceView to apply the shader to.- Returns:
- The shader string.
-