Partager via


EffectContext.CreateWithCurrentGlContext Method

Definition

Creates a context within the current GL context.

[Android.Runtime.Register("createWithCurrentGlContext", "()Landroid/media/effect/EffectContext;", "")]
public static Android.Media.Effect.EffectContext? CreateWithCurrentGlContext ();
[<Android.Runtime.Register("createWithCurrentGlContext", "()Landroid/media/effect/EffectContext;", "")>]
static member CreateWithCurrentGlContext : unit -> Android.Media.Effect.EffectContext

Returns

Attributes

Remarks

Creates a context within the current GL context.

Binds the EffectContext to the current OpenGL context. All subsequent calls to the EffectContext must be made in the GL context that was active during creation. When you have finished using a context, you must call #release(). to dispose of all resources associated with this context.

Java documentation for android.media.effect.EffectContext.createWithCurrentGlContext().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to