Partager via


Type.CreateXYZ(RenderScript, Element, Int32, Int32, Int32) Method

Definition

Utility function for creating basic 3D types.

[Android.Runtime.Register("createXYZ", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;III)Landroid/renderscript/Type;", "")]
public static Android.Renderscripts.Type? CreateXYZ (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e, int dimX, int dimY, int dimZ);
[<Android.Runtime.Register("createXYZ", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;III)Landroid/renderscript/Type;", "")>]
static member CreateXYZ : Android.Renderscripts.RenderScript * Android.Renderscripts.Element * int * int * 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

dimY
Int32

The Y dimension, must be > 0

dimZ
Int32

The Z dimension, must be > 0

Returns

Type

Attributes

Remarks

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

Java documentation for android.renderscript.Type.createXYZ(android.renderscript.RenderScript, android.renderscript.Element, int, int, 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