Program.BindConstants(Allocation, Int32) 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.
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
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
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.