語言

ScriptIntrinsicColorMatrix.ForEach 方法

定義

多載

名稱 Description
ForEach(Allocation, Allocation)

呼叫核,並將矩陣套用到每個輸入 Allocation 格,並將矩陣複製到輸出 Allocation。

ForEach(Allocation, Allocation, Script+LaunchOptions)

呼叫核,並將矩陣套用到每個輸入 Allocation 格,並將矩陣複製到輸出 Allocation。

ForEach(Allocation, Allocation)

呼叫核,並將矩陣套用到每個輸入 Allocation 格,並將矩陣複製到輸出 Allocation。

[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "")]
public void ForEach(Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout);
[<Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "")>]
override this.ForEach : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation -> unit

參數

ain
Allocation

輸入分配

aout
Allocation

輸出分配

屬性

備註

呼叫核,並將矩陣套用到每個輸入 Allocation 格,並將矩陣複製到輸出 Allocation。

若輸入向量大小小於四,則剩餘分量在矩陣乘法中視為零。

若輸出向量大小小於四,未使用的向量分量將被丟棄。

Java 文件 android.renderscript.ScriptIntrinsicColorMatrix.forEach(android.renderscript.Allocation, android.renderscript.Allocation)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

ForEach(Allocation, Allocation, Script+LaunchOptions)

呼叫核,並將矩陣套用到每個輸入 Allocation 格,並將矩陣複製到輸出 Allocation。

[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "")]
public void ForEach(Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout, Android.Renderscripts.Script.LaunchOptions? opt);
[<Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "")>]
override this.ForEach : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit

參數

ain
Allocation

輸入分配

aout
Allocation

輸出分配

opt
Script.LaunchOptions

剪裁的啟動選項

屬性

備註

Java 文件 android.renderscript.ScriptIntrinsicColorMatrix.forEach(android.renderscript.Allocation, android.renderscript.Allocation)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於