Share via


ScriptIntrinsicYuvToRGB.Create(RenderScript, Element) Method

Definition

Create an intrinsic for converting YUV to RGB.

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

Parameters

rs
RenderScript

The RenderScript context

e
Element

Element type for output

Returns

ScriptIntrinsicYuvToRGB

Attributes

Remarks

Create an intrinsic for converting YUV to RGB.

Supported elements types are Element#U8_4

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