Compartir a través de


Element.CreatePixel(RenderScript, Element+DataType, Element+DataKind) Method

Definition

Create a new pixel Element type.

[Android.Runtime.Register("createPixel", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element$DataType;Landroid/renderscript/Element$DataKind;)Landroid/renderscript/Element;", "")]
public static Android.Renderscripts.Element? CreatePixel (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element.DataType? dt, Android.Renderscripts.Element.DataKind? dk);
[<Android.Runtime.Register("createPixel", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element$DataType;Landroid/renderscript/Element$DataKind;)Landroid/renderscript/Element;", "")>]
static member CreatePixel : Android.Renderscripts.RenderScript * Android.Renderscripts.Element.DataType * Android.Renderscripts.Element.DataKind -> Android.Renderscripts.Element

Parameters

rs
RenderScript

The context associated with the new Element.

dt
Element.DataType

The DataType for the new element.

dk
Element.DataKind

The DataKind to specify the mapping of each component in the DataType.

Returns

Element

Attributes

Remarks

Java documentation for android.renderscript.Element.createPixel(android.renderscript.RenderScript, android.renderscript.DataType, android.renderscript.DataKind).

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