glok
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
glok
glok-core
/
uk.co.nickthecoder.glok.backend
/
Backend
/
createTexture
create
Texture
abstract
fun
createTexture
(
name
:
String
,
width
:
Int
,
height
:
Int
,
pixels
:
IntArray
)
:
Texture
Creates a texture filled with the given color.
abstract
fun
createTexture
(
name
:
String
,
width
:
Int
,
height
:
Int
,
color
:
Color
=
Color.TRANSPARENT
)
:
Texture
Creates a texture filled with the given
color
.