toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.render
/
TextureBase
Texture
Base
class
TextureBase
(
var
base
:
AGTexture
?
,
var
size
:
SizeInt
)
:
Closeable
,
SizeableInt
Represents a full texture region wraping a
base
and specifying its
width
and
height
Members
Constructors
Texture
Base
Link copied to clipboard
constructor
(
base
:
AGTexture
?
,
width
:
Int
,
height
:
Int
)
constructor
(
base
:
AGTexture
?
,
size
:
SizeInt
)
Properties
base
Link copied to clipboard
var
base
:
AGTexture
?
height
Link copied to clipboard
var
height
:
Int
size
Link copied to clipboard
open
override
var
size
:
SizeInt
version
Link copied to clipboard
var
version
:
Int
width
Link copied to clipboard
var
width
:
Int
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
update
Link copied to clipboard
fun
update
(
bmp
:
Bitmap
,
mipmaps
:
Boolean
,
baseMipmapLevel
:
Int
?
,
maxMipmapLevel
:
Int
?
)