toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.view.fast
/
FSprites
FSprites
open
class
FSprites
(
val
maxSize
:
Int
)
Members
Constructors
FSprites
Link copied to clipboard
constructor
(
maxSize
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Fsprites
UB
Link copied to clipboard
object
FspritesUB
:
UniformBlock
FView
Link copied to clipboard
class
FView
(
val
sprites
:
FSprites
,
val
texs
:
Array
<
Bitmap
>
)
:
View
FView
Info
Link copied to clipboard
class
FViewInfo
(
val
nTexs
:
Int
)
Properties
anchor
Raw
Link copied to clipboard
var
FSprite
.
anchorRaw
:
Int
anchor
X
Link copied to clipboard
var
FSprite
.
anchorX
:
Float
anchor
Y
Link copied to clipboard
var
FSprite
.
anchorY
:
Float
angle
Link copied to clipboard
var
FSprite
.
angle
:
Angle
available
Link copied to clipboard
val
available
:
Int
color
Mul
Link copied to clipboard
var
FSprite
.
colorMul
:
RGBA
data
Link copied to clipboard
val
data
:
Buffer
data
Color
Mul
Link copied to clipboard
val
dataColorMul
:
Buffer
max
Size
Link copied to clipboard
val
maxSize
:
Int
radiansf
Link copied to clipboard
var
FSprite
.
radiansf
:
Float
scale
X
Link copied to clipboard
var
FSprite
.
scaleX
:
Float
scale
Y
Link copied to clipboard
var
FSprite
.
scaleY
:
Float
size
Link copied to clipboard
var
size
:
Int
tex0Raw
Link copied to clipboard
var
FSprite
.
tex0Raw
:
Int
tex1Raw
Link copied to clipboard
var
FSprite
.
tex1Raw
:
Int
tex
Id
Link copied to clipboard
var
FSprite
.
texId
:
Int
x
Link copied to clipboard
var
FSprite
.
x
:
Float
y
Link copied to clipboard
var
FSprite
.
y
:
Float
Functions
alloc
Link copied to clipboard
fun
alloc
(
)
:
FSprite
create
View
Link copied to clipboard
fun
createView
(
tex
:
Bitmap
)
:
FSprites.FView
fun
createView
(
vararg
texs
:
Bitmap
)
:
FSprites.FView
free
Link copied to clipboard
fun
free
(
item
:
FSprite
)
reset
Link copied to clipboard
fun
FSprite
.
reset
(
)
scale
Link copied to clipboard
fun
FSprite
.
scale
(
sx
:
Float
,
sy
:
Float
=
sx
)
set
Anchor
Link copied to clipboard
fun
FSprite
.
setAnchor
(
x
:
Float
,
y
:
Float
)
set
Pos
Link copied to clipboard
fun
FSprite
.
setPos
(
x
:
Float
,
y
:
Float
)
set
Tex
Link copied to clipboard
fun
FSprite
.
setTex
(
tex
:
BmpSlice
)
set
Tex
Index
Link copied to clipboard
fun
FSprite
.
setTexIndex
(
id
:
Int
)
unload
Vertices
Link copied to clipboard
fun
unloadVertices
(
ctx
:
RenderContext
)
upload
Vertices
Link copied to clipboard
fun
uploadVertices
(
ctx
:
RenderContext
)
xy
Link copied to clipboard
fun
FSprite
.
xy
(
x
:
Float
,
y
:
Float
)