Android.Media.Effect.Effect Class

See Also: Effect Members

Syntax

[Android.Runtime.Register("android/media/effect/Effect", DoNotGenerateAcw=true)]
public abstract class Effect : Java.Lang.Object

Remarks

Effects are high-performance transformations that can be applied to image frames. These are passed in the form of OpenGL ES 2.0 texture names. Typical frames could be images loaded from disk, or frames from the camera or other video streams.

To create an Effect you must first create an EffectContext. You can obtain an instance of the context's EffectFactory by calling EffectContext.Factory. The EffectFactory allows you to instantiate specific Effects.

The application is responsible for creating an EGL context, and making it current before applying an effect. An effect is bound to a single EffectContext, which in turn is bound to a single EGL context. If your EGL context is destroyed, the EffectContext becomes invalid and any effects bound to this context can no longer be used.

[Android Documentation]

Requirements

Namespace: Android.Media.Effect
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14