Program.GetTextureName(Int32) Method

Definition

Returns the name of the texture input at a given slot.

[Android.Runtime.Register("getTextureName", "(I)Ljava/lang/String;", "GetGetTextureName_IHandler")]
public virtual string? GetTextureName (int slot);
[<Android.Runtime.Register("getTextureName", "(I)Ljava/lang/String;", "GetGetTextureName_IHandler")>]
abstract member GetTextureName : int -> string
override this.GetTextureName : int -> string

Parameters

slot
Int32

index of the texture input

Returns

texture input name

Attributes

Remarks

Returns the name of the texture input at a given slot. e.g. tex0, diffuse, spec

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