Share via


RenderScript.Create Method

Definition

Overloads

Create(Context)

calls create(ctx, ContextType.

Create(Context, RenderScript+ContextType)

calls create(ctx, ContextType.

Create(Context, RenderScript+ContextType, Int32)

calls create(ctx, ContextType.

Create(Context)

calls 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

Parameters

ctx
Context

The context.

Returns

RenderScript

Attributes

Remarks

calls create(ctx, ContextType.NORMAL, CREATE_FLAG_NONE)

See documentation for

Java documentation for android.renderscript.RenderScript.create(android.content.Context).

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

Create(Context, RenderScript+ContextType)

calls 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

Parameters

ctx
Context

The context.

ct
RenderScript.ContextType

The type of context to be created.

Returns

RenderScript

Attributes

Remarks

Java documentation for android.renderscript.RenderScript.create(android.content.Context).

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

Create(Context, RenderScript+ContextType, Int32)

calls 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

Parameters

ctx
Context

The context.

ct
RenderScript.ContextType

The type of context to be created.

flags
Int32

The OR of the CREATE_FLAG_* options desired

Returns

RenderScript

Attributes

Remarks

Java documentation for android.renderscript.RenderScript.create(android.content.Context).

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