toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
UniformBlock
Uniform
Block
open
class
UniformBlock
(
val
fixedLocation
:
Int
)
Inheritors
ProjViewUB
MaterialBlockUB
SDFUB
UB
FspritesUB
ColorMatrixUB
ColorTransformUB
ConvoluteUB
BlurUB
DitherUB
FlagUB
PageUB
TexInfoUB
TransitionUB
WaveUB
ShapeViewUB
Members
Constructors
Uniform
Block
Link copied to clipboard
constructor
(
fixedLocation
:
Int
)
Types
Gen
Link copied to clipboard
data
class
Gen
<
T
>
(
val
block
:
UniformBlock
,
var
name
:
String
?
,
val
voffset
:
Int
,
val
vindex
:
Int
,
val
type
:
VarType
,
val
arrayCount
:
Int
=
1
,
val
size
:
Int
,
val
align
:
Int
)
Properties
fixed
Location
Link copied to clipboard
val
fixedLocation
:
Int
name
Link copied to clipboard
val
name
:
String
total
Size
Link copied to clipboard
val
totalSize
:
Int
total
Size
No
Gl
Align
Link copied to clipboard
val
totalSizeNoGlAlign
:
Int
uniform
Count
Link copied to clipboard
val
uniformCount
:
Int
uniforms
Link copied to clipboard
val
uniforms
:
List
<
TypedUniform
<
*
>
>
Functions
gen
Link copied to clipboard
fun
<
T
>
gen
(
name
:
String
?
=
null
,
type
:
VarType
,
size
:
Int
,
align
:
Int
=
size
)
:
UniformBlock.Gen
<
T
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String