語言

ETC1Util.ETC1Texture 建構函式

定義

多載

名稱 Description
ETC1Util.ETC1Texture(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

ETC1Util.ETC1Texture(Int32, Int32, ByteBuffer)

將提供的尺寸與編碼資料儲存為 ETC1 材質。

ETC1Util.ETC1Texture(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected ETC1Texture(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Opengl.ETC1Util.ETC1Texture : nativeint * Android.Runtime.JniHandleOwnership -> Android.Opengl.ETC1Util.ETC1Texture

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

ETC1Util.ETC1Texture(Int32, Int32, ByteBuffer)

將提供的尺寸與編碼資料儲存為 ETC1 材質。

[Android.Runtime.Register(".ctor", "(IILjava/nio/ByteBuffer;)V", "")]
public ETC1Texture(int width, int height, Java.Nio.ByteBuffer? data);
[<Android.Runtime.Register(".ctor", "(IILjava/nio/ByteBuffer;)V", "")>]
new Android.Opengl.ETC1Util.ETC1Texture : int * int * Java.Nio.ByteBuffer -> Android.Opengl.ETC1Util.ETC1Texture

參數

width
Int32

材質的影像寬度(像素)。

height
Int32

材質的影像高度(像素單位)。

data
ByteBuffer

緩衝區用來儲存材質編碼的 ETC1 資料。

屬性

備註

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

適用於