Program.BindTexture(Allocation, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
綁定一個貼圖以供程式使用。
[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)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。