Language

ETC1Util.ETC1Texture Constructors

Definition

Overloads

Name Description
ETC1Util.ETC1Texture(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ETC1Util.ETC1Texture(Int32, Int32, ByteBuffer)

Stores the supplied dimensions and encoded data as an ETC1 texture.

ETC1Util.ETC1Texture(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

Applies to

ETC1Util.ETC1Texture(Int32, Int32, ByteBuffer)

Stores the supplied dimensions and encoded data as an ETC1 texture.

[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

Parameters

width
Int32

The texture's image width in pixels.

height
Int32

The texture's image height in pixels.

data
ByteBuffer

The buffer to store as the texture's encoded ETC1 data.

Attributes

Remarks

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.

Applies to