Language

Program.BaseProgramBuilder.AddTexture Method

Definition

Overloads

Name Description
AddTexture(Program+TextureType)

Adds a texture input with a name formed from Tex and its zero-based index.

AddTexture(Program+TextureType, String)

Adds a texture input with the specified shader name.

AddTexture(Program+TextureType)

Adds a texture input with a name formed from Tex and its zero-based index.

[Android.Runtime.Register("addTexture", "(Landroid/renderscript/Program$TextureType;)Landroid/renderscript/Program$BaseProgramBuilder;", "GetAddTexture_Landroid_renderscript_Program_TextureType_Handler")]
public virtual Android.Renderscripts.Program.BaseProgramBuilder AddTexture(Android.Renderscripts.Program.TextureType texType);
[<Android.Runtime.Register("addTexture", "(Landroid/renderscript/Program$TextureType;)Landroid/renderscript/Program$BaseProgramBuilder;", "GetAddTexture_Landroid_renderscript_Program_TextureType_Handler")>]
abstract member AddTexture : Android.Renderscripts.Program.TextureType -> Android.Renderscripts.Program.BaseProgramBuilder
override this.AddTexture : Android.Renderscripts.Program.TextureType -> Android.Renderscripts.Program.BaseProgramBuilder

Parameters

texType
Program.TextureType

The texture sampling type.

Returns

This builder.

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

AddTexture(Program+TextureType, String)

Adds a texture input with the specified shader name.

[Android.Runtime.Register("addTexture", "(Landroid/renderscript/Program$TextureType;Ljava/lang/String;)Landroid/renderscript/Program$BaseProgramBuilder;", "GetAddTexture_Landroid_renderscript_Program_TextureType_Ljava_lang_String_Handler")]
public virtual Android.Renderscripts.Program.BaseProgramBuilder AddTexture(Android.Renderscripts.Program.TextureType texType, string texName);
[<Android.Runtime.Register("addTexture", "(Landroid/renderscript/Program$TextureType;Ljava/lang/String;)Landroid/renderscript/Program$BaseProgramBuilder;", "GetAddTexture_Landroid_renderscript_Program_TextureType_Ljava_lang_String_Handler")>]
abstract member AddTexture : Android.Renderscripts.Program.TextureType * string -> Android.Renderscripts.Program.BaseProgramBuilder
override this.AddTexture : Android.Renderscripts.Program.TextureType * string -> Android.Renderscripts.Program.BaseProgramBuilder

Parameters

texType
Program.TextureType

The texture sampling type.

texName
String

The texture name used in the shader.

Returns

This builder.

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