EffectContext.CreateWithCurrentGlContext 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在当前 GL 上下文中创建上下文。
[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
返回
- 特性
注解
在当前 GL 上下文中创建上下文。
将 EffectContext 绑定到当前的 OpenGL 上下文。 对 EffectContext 的所有后续调用都必须在创建过程中处于活动状态的 GL 上下文中进行。 使用完上下文后,必须调用 #release()。 释放与此上下文关联的所有资源。
Java文档android.media.effect.EffectContext.createWithCurrentGlContext()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。