Program.BaseProgramBuilder.SetShader Method

Definition

Overloads

SetShader(String)
SetShader(Resources, Int32)

SetShader(String)

[Android.Runtime.Register("setShader", "(Ljava/lang/String;)Landroid/renderscript/Program$BaseProgramBuilder;", "GetSetShader_Ljava_lang_String_Handler")]
public virtual Android.Renderscripts.Program.BaseProgramBuilder SetShader (string s);
[<Android.Runtime.Register("setShader", "(Ljava/lang/String;)Landroid/renderscript/Program$BaseProgramBuilder;", "GetSetShader_Ljava_lang_String_Handler")>]
abstract member SetShader : string -> Android.Renderscripts.Program.BaseProgramBuilder
override this.SetShader : string -> Android.Renderscripts.Program.BaseProgramBuilder

Parameters

s
String

Returns

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

SetShader(Resources, Int32)

[Android.Runtime.Register("setShader", "(Landroid/content/res/Resources;I)Landroid/renderscript/Program$BaseProgramBuilder;", "GetSetShader_Landroid_content_res_Resources_IHandler")]
public virtual Android.Renderscripts.Program.BaseProgramBuilder SetShader (Android.Content.Res.Resources resources, int resourceID);
[<Android.Runtime.Register("setShader", "(Landroid/content/res/Resources;I)Landroid/renderscript/Program$BaseProgramBuilder;", "GetSetShader_Landroid_content_res_Resources_IHandler")>]
abstract member SetShader : Android.Content.Res.Resources * int -> Android.Renderscripts.Program.BaseProgramBuilder
override this.SetShader : Android.Content.Res.Resources * int -> Android.Renderscripts.Program.BaseProgramBuilder

Parameters

resources
Resources
resourceID
Int32

Returns

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