Share via


RuntimeXfermode.SetIntUniform Method

Definition

Overloads

SetIntUniform(String, Int32)

Sets the uniform value corresponding to this color filter.

SetIntUniform(String, Int32[])

Sets the uniform value corresponding to this color filter.

SetIntUniform(String, Int32, Int32)

Sets the uniform value corresponding to this color filter.

SetIntUniform(String, Int32, Int32, Int32)

Sets the uniform value corresponding to this color filter.

SetIntUniform(String, Int32, Int32, Int32, Int32)

Sets the uniform value corresponding to this color filter.

SetIntUniform(String, Int32)

Sets the uniform value corresponding to this color filter.

[Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;I)V", "GetSetIntUniform_Ljava_lang_String_IHandler", ApiSince=36)]
public virtual void SetIntUniform(string uniformName, int value);
[<Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;I)V", "GetSetIntUniform_Ljava_lang_String_IHandler", ApiSince=36)>]
abstract member SetIntUniform : string * int -> unit
override this.SetIntUniform : string * int -> unit

Parameters

uniformName
String

name matching the uniform declared in the AGSL program

value
Int32
Attributes

Remarks

Sets the uniform value corresponding to this color filter. If the effect does not have a uniform with that name or if the uniform is declared with a type other than an int or int[1] then an IllegalArgumentException is thrown.

Java documentation for android.graphics.RuntimeXfermode.setIntUniform(java.lang.String, 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

SetIntUniform(String, Int32[])

Sets the uniform value corresponding to this color filter.

[Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;[I)V", "GetSetIntUniform_Ljava_lang_String_arrayIHandler", ApiSince=36)]
public virtual void SetIntUniform(string uniformName, int[] values);
[<Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;[I)V", "GetSetIntUniform_Ljava_lang_String_arrayIHandler", ApiSince=36)>]
abstract member SetIntUniform : string * int[] -> unit
override this.SetIntUniform : string * int[] -> unit

Parameters

uniformName
String

name matching the uniform declared in the AGSL program

values
Int32[]
Attributes

Remarks

Sets the uniform value corresponding to this color filter. If the effect does not have a uniform with that name or if the uniform is declared with a type other than an int (for N=1), ivecN, or int[N] where N is the length of the values param then an IllegalArgumentException is thrown.

Java documentation for android.graphics.RuntimeXfermode.setIntUniform(java.lang.String, 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

SetIntUniform(String, Int32, Int32)

Sets the uniform value corresponding to this color filter.

[Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;II)V", "GetSetIntUniform_Ljava_lang_String_IIHandler", ApiSince=36)]
public virtual void SetIntUniform(string uniformName, int value1, int value2);
[<Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;II)V", "GetSetIntUniform_Ljava_lang_String_IIHandler", ApiSince=36)>]
abstract member SetIntUniform : string * int * int -> unit
override this.SetIntUniform : string * int * int -> unit

Parameters

uniformName
String

name matching the uniform declared in the AGSL program

value1
Int32
value2
Int32
Attributes

Remarks

Sets the uniform value corresponding to this color filter. If the effect does not have a uniform with that name or if the uniform is declared with a type other than an ivec2 or int[2] then an IllegalArgumentException is thrown.

Java documentation for android.graphics.RuntimeXfermode.setIntUniform(java.lang.String, int, 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

SetIntUniform(String, Int32, Int32, Int32)

Sets the uniform value corresponding to this color filter.

[Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;III)V", "GetSetIntUniform_Ljava_lang_String_IIIHandler", ApiSince=36)]
public virtual void SetIntUniform(string uniformName, int value1, int value2, int value3);
[<Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;III)V", "GetSetIntUniform_Ljava_lang_String_IIIHandler", ApiSince=36)>]
abstract member SetIntUniform : string * int * int * int -> unit
override this.SetIntUniform : string * int * int * int -> unit

Parameters

uniformName
String

name matching the uniform declared in the AGSL program

value1
Int32
value2
Int32
value3
Int32
Attributes

Remarks

Sets the uniform value corresponding to this color filter. If the effect does not have a uniform with that name or if the uniform is declared with a type other than an ivec3 or int[3] then an IllegalArgumentException is thrown.

Java documentation for android.graphics.RuntimeXfermode.setIntUniform(java.lang.String, int, int, 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

SetIntUniform(String, Int32, Int32, Int32, Int32)

Sets the uniform value corresponding to this color filter.

[Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;IIII)V", "GetSetIntUniform_Ljava_lang_String_IIIIHandler", ApiSince=36)]
public virtual void SetIntUniform(string uniformName, int value1, int value2, int value3, int value4);
[<Android.Runtime.Register("setIntUniform", "(Ljava/lang/String;IIII)V", "GetSetIntUniform_Ljava_lang_String_IIIIHandler", ApiSince=36)>]
abstract member SetIntUniform : string * int * int * int * int -> unit
override this.SetIntUniform : string * int * int * int * int -> unit

Parameters

uniformName
String

name matching the uniform declared in the AGSL program

value1
Int32
value2
Int32
value3
Int32
value4
Int32
Attributes

Remarks

Sets the uniform value corresponding to this color filter. If the effect does not have a uniform with that name or if the uniform is declared with a type other than an ivec4 or int[4] then an IllegalArgumentException is thrown.

Java documentation for android.graphics.RuntimeXfermode.setIntUniform(java.lang.String, int, int, int, 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