toggle menu
mapsglmaps
androidJvm
switch theme
search in API
mapsglmaps
/
com.xweather.mapsgl.utils
/
TextureUtil
Texture
Util
class
TextureUtil
(
inputContext
:
Context
)
Members
Constructors
Texture
Util
Link copied to clipboard
constructor
(
inputContext
:
Context
)
Properties
context
Link copied to clipboard
var
context
:
Context
Functions
load
Texture
From
Bitmap
Link copied to clipboard
fun
loadTextureFromBitmap
(
bitmap
:
Bitmap
,
textureUnit
:
IntArray
,
index
:
Int
)
load
Texture
From
Buffer
During
On
Draw
Link copied to clipboard
fun
loadTextureFromBufferDuringOnDraw
(
textureUnit
:
IntArray
)
load
Texture
From
File
Link copied to clipboard
fun
loadTextureFromFile
(
fileName
:
String
,
textureUnit
:
IntArray
,
index
:
Int
)
load
Textures
From
Bitmap
Package
List
Link copied to clipboard
fun
loadTexturesFromBitmapPackageList
(
bitmapPackageList
:
MutableList
<
BitmapPackage
>
)
:
IntArray