Language

Script.FieldBase.Init Method

Definition

Overloads

Name Description
Init(RenderScript, Int32)

Creates one-dimensional field storage for script use.

Init(RenderScript, Int32, Int32)

Creates one-dimensional field storage with script usage and the specified additional usages.

Init(RenderScript, Int32)

Creates one-dimensional field storage for script use.

[Android.Runtime.Register("init", "(Landroid/renderscript/RenderScript;I)V", "GetInit_Landroid_renderscript_RenderScript_IHandler")]
protected virtual void Init(Android.Renderscripts.RenderScript rs, int dimx);
[<Android.Runtime.Register("init", "(Landroid/renderscript/RenderScript;I)V", "GetInit_Landroid_renderscript_RenderScript_IHandler")>]
abstract member Init : Android.Renderscripts.RenderScript * int -> unit
override this.Init : Android.Renderscripts.RenderScript * int -> unit

Parameters

rs
RenderScript

The RenderScript context that owns the allocation.

dimx
Int32

The number of elements in the allocation.

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.

Applies to

Init(RenderScript, Int32, Int32)

Creates one-dimensional field storage with script usage and the specified additional usages.

[Android.Runtime.Register("init", "(Landroid/renderscript/RenderScript;II)V", "GetInit_Landroid_renderscript_RenderScript_IIHandler")]
protected virtual void Init(Android.Renderscripts.RenderScript rs, int dimx, int usages);
[<Android.Runtime.Register("init", "(Landroid/renderscript/RenderScript;II)V", "GetInit_Landroid_renderscript_RenderScript_IIHandler")>]
abstract member Init : Android.Renderscripts.RenderScript * int * int -> unit
override this.Init : Android.Renderscripts.RenderScript * int * int -> unit

Parameters

rs
RenderScript

The RenderScript context that owns the allocation.

dimx
Int32

The number of elements in the allocation.

usages
Int32

Additional usage flags to combine with script usage.

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.

Applies to