toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics
/
AGTextureUnits
AGTexture
Units
data
class
AGTextureUnits
(
val
textures
:
Array
<
AGTexture
?
>
,
val
infos
:
AGTextureUnitInfoArray
)
Members
Constructors
AGTexture
Units
Link copied to clipboard
constructor
(
size
:
Int
=
MAX_TEXTURE_UNITS
)
constructor
(
textures
:
Array
<
AGTexture
?
>
,
infos
:
AGTextureUnitInfoArray
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
infos
Link copied to clipboard
val
infos
:
AGTextureUnitInfoArray
size
Link copied to clipboard
val
size
:
Int
textures
Link copied to clipboard
val
textures
:
Array
<
AGTexture
?
>
Functions
clear
Link copied to clipboard
fun
clear
(
)
clone
Link copied to clipboard
fun
clone
(
)
:
AGTextureUnits
copy
From
Link copied to clipboard
fun
copyFrom
(
other
:
AGTextureUnits
,
sampler
:
Sampler
)
fun
copyFrom
(
other
:
AGTextureUnits
,
index
:
Int
)
fast
For
Each
Link copied to clipboard
inline
fun
fastForEach
(
block
:
(
index
:
Int
,
tex
:
AGTexture
?
,
info
:
AGTextureUnitInfo
)
->
Unit
)
set
Link copied to clipboard
fun
set
(
sampler
:
Sampler
,
texture
:
AGTexture
?
,
info
:
AGTextureUnitInfo
=
AGTextureUnitInfo.DEFAULT
)
fun
set
(
index
:
Int
,
texture
:
AGTexture
?
,
info
:
AGTextureUnitInfo
=
AGTextureUnitInfo.DEFAULT
)