toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
Program
/
Func
Func
data
class
Func
(
val
name
:
String
,
val
ops
:
List
<
Operand
>
,
val
type
:
VarType
=
VarType.Float1
)
:
Program.BaseFunc
Members
Members & Extensions
Constructors
Func
Link copied to clipboard
constructor
(
name
:
String
,
vararg
ops
:
Operand
,
type
:
VarType
=
VarType.Float1
)
constructor
(
name
:
String
,
ops
:
List
<
Operand
>
,
type
:
VarType
=
VarType.Float1
)
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
name
Link copied to clipboard
open
override
val
name
:
String
ops
Link copied to clipboard
open
override
val
ops
:
List
<
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
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
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