Program.BindTexture(Allocation, Int32) Method

Definition

Binds a texture to be used in the program

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

Parameters

va
Allocation

allocation containing texture data

slot
Int32

index within the program's list of textures

Attributes

Remarks

Binds a texture to be used in the program

Java documentation for android.renderscript.Program.bindTexture(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