Partager via


ScriptIntrinsicConvolve3x3.Create(RenderScript, Element) Method

Definition

Supported elements types are Element#U8, Element#U8_2, Element#U8_3, Element#U8_4, Element#F32, Element#F32_2, Element#F32_3, and Element#F32_4.

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

Parameters

rs
RenderScript

The RenderScript context

e
Element

Element type for intputs and outputs

Returns

ScriptIntrinsicConvolve3x3

Attributes

Remarks

Supported elements types are Element#U8, Element#U8_2, Element#U8_3, Element#U8_4, Element#F32, Element#F32_2, Element#F32_3, and Element#F32_4.

The default coefficients are: <p> [ 0, 0, 0 ] <p> [ 0, 1, 0 ] <p> [ 0, 0, 0 ]

Java documentation for android.renderscript.ScriptIntrinsicConvolve3x3.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