RuntimeXfermode.SetInputXfermode(String, RuntimeXfermode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns the uniform xfermode to the provided xfermode parameter.
[Android.Runtime.Register("setInputXfermode", "(Ljava/lang/String;Landroid/graphics/RuntimeXfermode;)V", "GetSetInputXfermode_Ljava_lang_String_Landroid_graphics_RuntimeXfermode_Handler", ApiSince=36)]
public virtual void SetInputXfermode(string xfermodeName, Android.Graphics.RuntimeXfermode xfermode);
[<Android.Runtime.Register("setInputXfermode", "(Ljava/lang/String;Landroid/graphics/RuntimeXfermode;)V", "GetSetInputXfermode_Ljava_lang_String_Landroid_graphics_RuntimeXfermode_Handler", ApiSince=36)>]
abstract member SetInputXfermode : string * Android.Graphics.RuntimeXfermode -> unit
override this.SetInputXfermode : string * Android.Graphics.RuntimeXfermode -> unit
Parameters
- xfermodeName
- String
name matching the uniform declared in the AGSL program
- xfermode
- RuntimeXfermode
xfermode function passed into the AGSL program for sampling
- Attributes
Remarks
Assigns the uniform xfermode to the provided xfermode parameter. If the shader program does not have a uniform xfermode with that name then an IllegalArgumentException is thrown.
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.