toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
Program
/
Vector
Vector
data
class
Vector
(
val
type
:
VarType
,
val
ops
:
Array
<
out
Operand
>
)
:
Operand
Members
Members & Extensions
Constructors
Vector
Link copied to clipboard
constructor
(
type
:
VarType
,
ops
:
Array
<
out
Operand
>
)
Properties
a
Link copied to clipboard
open
val
Operand
.
a
:
Operand
b
Link copied to clipboard
open
val
Operand
.
b
:
Operand
element
Count
Link copied to clipboard
val
elementCount
:
Int
g
Link copied to clipboard
open
val
Operand
.
g
:
Operand
ops
Link copied to clipboard
val
ops
:
Array
<
out
Operand
>
pow2
Link copied to clipboard
val
Operand
.
pow2
:
Operand
r
Link copied to clipboard
open
val
Operand
.
r
:
Operand
type
Link copied to clipboard
open
override
val
type
:
VarType
w
Link copied to clipboard
open
val
Operand
.
w
:
Operand
x
Link copied to clipboard
open
val
Operand
.
x
:
Operand
y
Link copied to clipboard
open
val
Operand
.
y
:
Operand
z
Link copied to clipboard
open
val
Operand
.
z
:
Operand
Functions
and
Link copied to clipboard
open
infix
fun
Operand
.
and
(
that
:
Operand
)
:
Operand
assign
Link copied to clipboard
fun
Operand
.
assign
(
from
:
Operand
)
div
Link copied to clipboard
open
operator
fun
Operand
.
div
(
that
:
Operand
)
:
Operand
open
operator
fun
Operand
.
div
(
that
:
Float
)
:
Operand
eq
Link copied to clipboard
open
infix
fun
Operand
.
eq
(
that
:
Operand
)
:
Operand
open
infix
fun
Operand
.
eq
(
that
:
Float
)
:
Operand
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
ge
Link copied to clipboard
open
infix
fun
Operand
.
ge
(
that
:
Operand
)
:
Operand
open
infix
fun
Operand
.
ge
(
that
:
Float
)
:
Operand
get
Link copied to clipboard
open
operator
fun
Operand
.
get
(
index
:
Int
)
:
Operand
open
operator
fun
Operand
.
get
(
swizzle
:
String
)
:
Operand
gt
Link copied to clipboard
open
infix
fun
Operand
.
gt
(
that
:
Operand
)
:
Operand
open
infix
fun
Operand
.
gt
(
that
:
Float
)
:
Operand
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
in
Range
Link copied to clipboard
open
fun
Operand
.
inRange
(
low
:
Operand
,
high
:
Operand
)
:
Operand
le
Link copied to clipboard
open
infix
fun
Operand
.
le
(
that
:
Operand
)
:
Operand
open
infix
fun
Operand
.
le
(
that
:
Float
)
:
Operand
lt
Link copied to clipboard
open
infix
fun
Operand
.
lt
(
that
:
Operand
)
:
Operand
open
infix
fun
Operand
.
lt
(
that
:
Float
)
:
Operand
minus
Link copied to clipboard
open
operator
fun
Operand
.
minus
(
that
:
Operand
)
:
Operand
open
operator
fun
Operand
.
minus
(
that
:
Float
)
:
Operand
ne
Link copied to clipboard
open
infix
fun
Operand
.
ne
(
that
:
Operand
)
:
Operand
open
infix
fun
Operand
.
ne
(
that
:
Float
)
:
Operand
not
Link copied to clipboard
open
fun
Operand
.
not
(
)
:
Operand
or
Link copied to clipboard
open
infix
fun
Operand
.
or
(
that
:
Operand
)
:
Operand
plus
Link copied to clipboard
open
operator
fun
Operand
.
plus
(
that
:
Operand
)
:
Operand
open
operator
fun
Operand
.
plus
(
that
:
Float
)
:
Operand
rem
Link copied to clipboard
open
operator
fun
Operand
.
rem
(
that
:
Operand
)
:
Operand
open
operator
fun
Operand
.
rem
(
that
:
Float
)
:
Operand
set
Link copied to clipboard
infix
fun
Operand
.
set
(
from
:
Operand
)
set
To
Link copied to clipboard
infix
fun
Operand
.
setTo
(
from
:
Operand
)
times
Link copied to clipboard
open
operator
fun
Operand
.
times
(
that
:
Operand
)
:
Operand
open
operator
fun
Operand
.
times
(
that
:
Float
)
:
Operand
unary
Minus
Link copied to clipboard
open
operator
fun
Operand
.
unaryMinus
(
)
:
Operand