Element.CreateVector(RenderScript, Element+DataType, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a custom vector element of the specified DataType and vector size.
[Android.Runtime.Register("createVector", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element$DataType;I)Landroid/renderscript/Element;", "")]
public static Android.Renderscripts.Element? CreateVector (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element.DataType? dt, int size);
[<Android.Runtime.Register("createVector", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element$DataType;I)Landroid/renderscript/Element;", "")>]
static member CreateVector : Android.Renderscripts.RenderScript * Android.Renderscripts.Element.DataType * int -> Android.Renderscripts.Element
Parameters
- rs
- RenderScript
The context associated with the new Element.
The DataType for the new Element.
- size
- Int32
Vector size for the new Element. Range 2-4 inclusive supported.
Returns
Element
- Attributes
Remarks
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.