Share via


Program.BindConstants(Allocation, Int32) Method

Definition

Binds a constant buffer to be used as uniform inputs to the program

[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

Parameters

a
Allocation

allocation containing uniform data

slot
Int32

index within the program's list of constant buffer allocations

Attributes

Remarks

Binds a constant buffer to be used as uniform inputs to the program

Java documentation for android.renderscript.Program.bindConstants(android.renderscript.Allocation, int).

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