다음을 통해 공유


ScriptIntrinsicYuvToRGB.SetInput(Allocation) Method

Definition

Set the input yuv allocation, must be Element#U8.

[Android.Runtime.Register("setInput", "(Landroid/renderscript/Allocation;)V", "")]
public void SetInput (Android.Renderscripts.Allocation? ain);
[<Android.Runtime.Register("setInput", "(Landroid/renderscript/Allocation;)V", "")>]
member this.SetInput : Android.Renderscripts.Allocation -> unit

Parameters

ain
Allocation

The input allocation.

Attributes

Remarks

Set the input yuv allocation, must be Element#U8.

Java documentation for android.renderscript.ScriptIntrinsicYuvToRGB.setInput(android.renderscript.Allocation).

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