Added in API level 8
ETC1Texture
open class ETC1Texture
kotlin.Any | |
↳ | android.opengl.ETC1Util.ETC1Texture |
A utility class encapsulating a compressed ETC1 texture.
Summary
Public constructors | |
---|---|
ETC1Texture(width: Int, height: Int, data: ByteBuffer!) |
Public methods | |
---|---|
open ByteBuffer! |
getData() Get the compressed data of the texture. |
open Int |
Get the height of the texture in pixels. |
open Int |
getWidth() Get the width of the texture in pixels. |
Public constructors
Public methods
getData
Added in API level 8
open fun getData(): ByteBuffer!
Get the compressed data of the texture.
Return | |
---|---|
ByteBuffer! |
the texture data. |
getHeight
Added in API level 8
open fun getHeight(): Int
Get the height of the texture in pixels.
Return | |
---|---|
Int |
the width of the texture in pixels. |
getWidth
Added in API level 8
open fun getWidth(): Int
Get the width of the texture in pixels.
Return | |
---|---|
Int |
the width of the texture in pixels. |