語言

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)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於