Language

Script.BindAllocation(Allocation, Int32) Method

Definition

Only intended for use by generated reflected code.

[Android.Runtime.Register("bindAllocation", "(Landroid/renderscript/Allocation;I)V", "GetBindAllocation_Landroid_renderscript_Allocation_IHandler")]
public virtual void BindAllocation(Android.Renderscripts.Allocation? va, int slot);
[<Android.Runtime.Register("bindAllocation", "(Landroid/renderscript/Allocation;I)V", "GetBindAllocation_Landroid_renderscript_Allocation_IHandler")>]
abstract member BindAllocation : Android.Renderscripts.Allocation * int -> unit
override this.BindAllocation : Android.Renderscripts.Allocation * int -> unit

Parameters

va
Allocation

The allocation to bind, or null to remove the binding.

slot
Int32

The index of the exported variable to bind.

Attributes

Remarks

Only intended for use by generated reflected code.

Java documentation for android.renderscript.Script.bindAllocation(android.renderscript.Allocation, 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