EffectContext.CreateWithCurrentGlContext 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在目前的總架構中建立一個上下文。
[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
傳回
- 屬性
備註
在目前的總架構中建立一個上下文。
將 EffectContext 綁定到目前的 OpenGL 上下文。 所有後續對 EffectContext 的呼叫必須在建立時啟用的 GL 上下文中進行。 當你使用完上下文後,必須呼叫 #release()。 處置與此情境相關的所有資源。
Java 文件 android.media.effect.EffectContext.createWithCurrentGlContext()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。