Udostępnij za pośrednictwem


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

Definition

Utility function for creating basic 2D types.

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

Returns

Type

Attributes

Remarks

Utility function for creating basic 2D types. The type is created without mipmaps or cubemaps.

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