Freigeben über


ScriptIntrinsicColorMatrix.Create Method

Definition

Overloads

Create(RenderScript)

Create an intrinsic for applying a color matrix to an allocation.

Create(RenderScript, Element)
Obsolete.

Create an intrinsic for applying a color matrix to an allocation.

Create(RenderScript)

Create an intrinsic for applying a color matrix to an allocation.

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

Parameters

rs
RenderScript

The RenderScript context

Returns

ScriptIntrinsicColorMatrix

Attributes

Remarks

Create an intrinsic for applying a color matrix to an allocation.

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.create(android.renderscript.RenderScript).

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(RenderScript, Element)

Caution

deprecated

Create an intrinsic for applying a color matrix to an allocation.

[Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicColorMatrix;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.ScriptIntrinsicColorMatrix? Create (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e);
[<Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicColorMatrix;", "")>]
[<System.Obsolete("deprecated")>]
static member Create : Android.Renderscripts.RenderScript * Android.Renderscripts.Element -> Android.Renderscripts.ScriptIntrinsicColorMatrix

Parameters

rs
RenderScript

The RenderScript context

e
Element

Element type for inputs and outputs, As of API 19, this parameter is ignored. The Element type check is performed in the kernel launch.

Returns

ScriptIntrinsicColorMatrix

Attributes

Remarks

Create an intrinsic for applying a color matrix to an allocation.

This member is deprecated. Use the single argument version as Element is now ignored.

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.create(android.renderscript.RenderScript, android.renderscript.Element).

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