語言

RenderScript.Create 方法

定義

多載

名稱 Description
Create(Context)

呼叫 create(ctx, ContextType.

Create(Context, RenderScript+ContextType)

呼叫 create(ctx, ContextType.

Create(Context, RenderScript+ContextType, Int32)

呼叫 create(ctx, ContextType.

Create(Context)

呼叫 create(ctx, ContextType.

[Android.Runtime.Register("create", "(Landroid/content/Context;)Landroid/renderscript/RenderScript;", "")]
public static Android.Renderscripts.RenderScript? Create(Android.Content.Context? ctx);
[<Android.Runtime.Register("create", "(Landroid/content/Context;)Landroid/renderscript/RenderScript;", "")>]
static member Create : Android.Content.Context -> Android.Renderscripts.RenderScript

參數

ctx
Context

內容。

傳回

渲染腳本

屬性

備註

呼叫 create(ctx, ContextType.NORMAL, CREATE_FLAG_NONE)

請參閱相關文件

android.renderscript.RenderScript.create(android.content.Context)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

Create(Context, RenderScript+ContextType)

呼叫 create(ctx, ContextType.

[Android.Runtime.Register("create", "(Landroid/content/Context;Landroid/renderscript/RenderScript$ContextType;)Landroid/renderscript/RenderScript;", "")]
public static Android.Renderscripts.RenderScript? Create(Android.Content.Context? ctx, Android.Renderscripts.RenderScript.ContextType? ct);
[<Android.Runtime.Register("create", "(Landroid/content/Context;Landroid/renderscript/RenderScript$ContextType;)Landroid/renderscript/RenderScript;", "")>]
static member Create : Android.Content.Context * Android.Renderscripts.RenderScript.ContextType -> Android.Renderscripts.RenderScript

參數

ctx
Context

內容。

ct
RenderScript.ContextType

要創造的情境類型。

傳回

渲染腳本

屬性

備註

android.renderscript.RenderScript.create(android.content.Context)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

Create(Context, RenderScript+ContextType, Int32)

呼叫 create(ctx, ContextType.

[Android.Runtime.Register("create", "(Landroid/content/Context;Landroid/renderscript/RenderScript$ContextType;I)Landroid/renderscript/RenderScript;", "")]
public static Android.Renderscripts.RenderScript? Create(Android.Content.Context? ctx, Android.Renderscripts.RenderScript.ContextType? ct, int flags);
[<Android.Runtime.Register("create", "(Landroid/content/Context;Landroid/renderscript/RenderScript$ContextType;I)Landroid/renderscript/RenderScript;", "")>]
static member Create : Android.Content.Context * Android.Renderscripts.RenderScript.ContextType * int -> Android.Renderscripts.RenderScript

參數

ctx
Context

內容。

ct
RenderScript.ContextType

要創造的情境類型。

flags
Int32

想要CREATE_FLAG_選項的手術室

傳回

渲染腳本

屬性

備註

android.renderscript.RenderScript.create(android.content.Context)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於