Lenguaje

ETC1Util.LoadTexture Método

Definición

Sobrecargas

Nombre Description
LoadTexture(Int32, Int32, Int32, Int32, Int32, ETC1Util+ETC1Texture)

Método de conveniencia para cargar una textura ETC1 tanto si el contexto openGL activo admite el formato de compresión de textura ETC1.

LoadTexture(Int32, Int32, Int32, Int32, Int32, Stream)

Método de conveniencia para cargar una textura ETC1 tanto si el contexto openGL activo admite el formato de compresión de textura ETC1.

LoadTexture(Int32, Int32, Int32, Int32, Int32, ETC1Util+ETC1Texture)

Método de conveniencia para cargar una textura ETC1 tanto si el contexto openGL activo admite el formato de compresión de textura ETC1.

[Android.Runtime.Register("loadTexture", "(IIIIILandroid/opengl/ETC1Util$ETC1Texture;)V", "")]
public static void LoadTexture(int target, int level, int border, int fallbackFormat, int fallbackType, Android.Opengl.ETC1Util.ETC1Texture? texture);
[<Android.Runtime.Register("loadTexture", "(IIIIILandroid/opengl/ETC1Util$ETC1Texture;)V", "")>]
static member LoadTexture : int * int * int * int * int * Android.Opengl.ETC1Util.ETC1Texture -> unit

Parámetros

target
Int32

destino de textura.

level
Int32

el nivel de textura

border
Int32

el tamaño del borde. Normalmente 0.

fallbackFormat
Int32

el formato que se va a usar si no se admite la compresión de textura ETC1. Debe ser GL_RGB.

fallbackType
Int32

el tipo que se va a usar si no se admite la compresión de textura ETC1. Puede ser GL_UNSIGNED_SHORT_5_6_5, lo que implica 16 bits por píxel o GL_UNSIGNED_BYTE, lo que implica 24 bits por píxel.

texture
ETC1Util.ETC1Texture

etc1 que se va a cargar.

Atributos

Comentarios

Java documentación para android.opengl.ETC1Util.loadTexture(int, int, int, int, int, android.opengl.ETC1Texture).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

LoadTexture(Int32, Int32, Int32, Int32, Int32, Stream)

Método de conveniencia para cargar una textura ETC1 tanto si el contexto openGL activo admite el formato de compresión de textura ETC1.

[Android.Runtime.Register("loadTexture", "(IIIIILjava/io/InputStream;)V", "")]
public static void LoadTexture(int target, int level, int border, int fallbackFormat, int fallbackType, System.IO.Stream? input);
[<Android.Runtime.Register("loadTexture", "(IIIIILjava/io/InputStream;)V", "")>]
static member LoadTexture : int * int * int * int * int * System.IO.Stream -> unit

Parámetros

target
Int32

destino de textura.

level
Int32

el nivel de textura

border
Int32

el tamaño del borde. Normalmente 0.

fallbackFormat
Int32

el formato que se va a usar si no se admite la compresión de textura ETC1. Debe ser GL_RGB.

fallbackType
Int32

el tipo que se va a usar si no se admite la compresión de textura ETC1. Puede ser GL_UNSIGNED_SHORT_5_6_5, lo que implica 16 bits por píxel o GL_UNSIGNED_BYTE, lo que implica 24 bits por píxel.

input
Stream

flujo de entrada que contiene una textura ETC1 en formato PKM.

Atributos

Excepciones

Comentarios

Método de conveniencia para cargar una textura ETC1 tanto si el contexto openGL activo admite el formato de compresión de textura ETC1.

Java documentación para android.opengl.ETC1Util.loadTexture(int, int, int, int, int, java.io.InputStream).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a