ProgramFragmentFixedFunction.Builder.SetTexture 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.
Caution
deprecated
Sets a texture slot's color-combination operation and component selection.
[Android.Runtime.Register("setTexture", "(Landroid/renderscript/ProgramFragmentFixedFunction$Builder$EnvMode;Landroid/renderscript/ProgramFragmentFixedFunction$Builder$Format;I)Landroid/renderscript/ProgramFragmentFixedFunction$Builder;", "GetSetTexture_Landroid_renderscript_ProgramFragmentFixedFunction_Builder_EnvMode_Landroid_renderscript_ProgramFragmentFixedFunction_Builder_Format_IHandler")]
[System.Obsolete("deprecated")]
public virtual Android.Renderscripts.ProgramFragmentFixedFunction.Builder? SetTexture(Android.Renderscripts.ProgramFragmentFixedFunction.Builder.EnvMode? env, Android.Renderscripts.ProgramFragmentFixedFunction.Builder.Format? fmt, int slot);
[<Android.Runtime.Register("setTexture", "(Landroid/renderscript/ProgramFragmentFixedFunction$Builder$EnvMode;Landroid/renderscript/ProgramFragmentFixedFunction$Builder$Format;I)Landroid/renderscript/ProgramFragmentFixedFunction$Builder;", "GetSetTexture_Landroid_renderscript_ProgramFragmentFixedFunction_Builder_EnvMode_Landroid_renderscript_ProgramFragmentFixedFunction_Builder_Format_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetTexture : Android.Renderscripts.ProgramFragmentFixedFunction.Builder.EnvMode * Android.Renderscripts.ProgramFragmentFixedFunction.Builder.Format * int -> Android.Renderscripts.ProgramFragmentFixedFunction.Builder
override this.SetTexture : Android.Renderscripts.ProgramFragmentFixedFunction.Builder.EnvMode * Android.Renderscripts.ProgramFragmentFixedFunction.Builder.Format * int -> Android.Renderscripts.ProgramFragmentFixedFunction.Builder
Parameters
The operation used to combine the texture sample with the fragment color.
The texture-component selection used by the combination operation.
- slot
- Int32
The texture slot, either zero or one.
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.