Android.Renderscripts.Element.CreatePixel Method
Create a new pixel Element type.

Syntax

[Android.Runtime.Register("createPixel", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element$DataType;Landroid/renderscript/Element$DataKind;)Landroid/renderscript/Element;", "")]
public static Element CreatePixel (RenderScript rs, Element.DataType dt, Element.DataKind dk)

Parameters

rs
The context associated with the new Element.
dt
The DataType for the new element.
dk
The DataKind to specify the mapping of each component in the DataType.

Returns

Documentation for this section has not yet been entered.

Remarks

Create a new pixel Element type. A matching DataType and DataKind must be provided. The DataType and DataKind must contain the same number of components. Vector size will be set to 1.

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11