Android.Renderscripts.Element.CreateVector Method
Create a custom vector element of the specified DataType and vector size.

Syntax

[Android.Runtime.Register("createVector", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element$DataType;I)Landroid/renderscript/Element;", "")]
public static Element CreateVector (RenderScript rs, Element.DataType dt, int size)

Parameters

rs
The context associated with the new Element.
dt
The DataType for the new Element.
size
Vector size for the new Element. Range 2-4 inclusive supported.

Returns

Documentation for this section has not yet been entered.

Remarks

Create a custom vector element of the specified DataType and vector size. DataKind will be set to USER. Only primitive types (FLOAT_32, FLOAT_64, SIGNED_8, SIGNED_16, SIGNED_32, SIGNED_64, UNSIGNED_8, UNSIGNED_16, UNSIGNED_32, UNSIGNED_64, BOOLEAN) are supported.

[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