Share via


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

Parameters

rs
RenderScript

The RenderScript context

e
Element

Element type for intputs and outputs

Returns

ScriptIntrinsicConvolve5x5

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, 0, 0 ] <p> [ 0, 0, 0, 0, 0 ] <p> [ 0, 0, 1, 0, 0 ] <p> [ 0, 0, 0, 0, 0 ] <p> [ 0, 0, 0, 0, 0 ]

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