Share via


Type.CreateX(RenderScript, Element, Int32) Method

Definition

Utility function for creating basic 1D types.

[Android.Runtime.Register("createX", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;I)Landroid/renderscript/Type;", "")]
public static Android.Renderscripts.Type? CreateX (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e, int dimX);
[<Android.Runtime.Register("createX", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;I)Landroid/renderscript/Type;", "")>]
static member CreateX : Android.Renderscripts.RenderScript * Android.Renderscripts.Element * int -> Android.Renderscripts.Type

Parameters

rs
RenderScript

The RenderScript context

e
Element

The Element for the Type

dimX
Int32

The X dimension, must be > 0

Returns

Type

Attributes

Remarks

Utility function for creating basic 1D types. The type is created without mipmaps enabled.

Java documentation for android.renderscript.Type.createX(android.renderscript.RenderScript, android.renderscript.Element, int).

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