Program.BindTexture(Allocation, Int32) 方法

定义

绑定要用于程序的纹理

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

参数

va
Allocation

包含纹理数据的分配

slot
Int32

在程序的纹理列表中编制索引

属性

注解

绑定要用于程序的纹理

Java文档android.renderscript.Program.bindTexture(android.renderscript.Allocation, int)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于