Share via


Program.BindConstants(Allocation, Int32) メソッド

定義

プログラムに均一な入力として使用する定数バッファーをバインドします

[Android.Runtime.Register("bindConstants", "(Landroid/renderscript/Allocation;I)V", "GetBindConstants_Landroid_renderscript_Allocation_IHandler")]
public virtual void BindConstants (Android.Renderscripts.Allocation? a, int slot);
[<Android.Runtime.Register("bindConstants", "(Landroid/renderscript/Allocation;I)V", "GetBindConstants_Landroid_renderscript_Allocation_IHandler")>]
abstract member BindConstants : Android.Renderscripts.Allocation * int -> unit
override this.BindConstants : Android.Renderscripts.Allocation * int -> unit

パラメーター

a
Allocation

均一なデータを含む割り当て

slot
Int32

定数バッファー割り当てのプログラムのリスト内のインデックス

属性

注釈

プログラムに均一な入力として使用する定数バッファーをバインドします

の Java ドキュメント android.renderscript.Program.bindConstants(android.renderscript.Allocation, int)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象