toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
ProgramLayout
Program
Layout
open
class
ProgramLayout
<
TVariable
:
VariableWithOffset
>
(
items
:
List
<
TVariable
>
,
layoutSize
:
Int
?
,
val
fixedLocation
:
Int
=
-1
)
:
Iterable
<
TVariable
>
Members
Members & Extensions
Constructors
Program
Layout
Link copied to clipboard
constructor
(
variables
:
List
<
TVariable
>
)
constructor
(
vararg
variables
:
TVariable
,
layoutSize
:
Int
?
=
null
)
constructor
(
items
:
List
<
TVariable
>
,
layoutSize
:
Int
?
,
fixedLocation
:
Int
=
-1
)
Properties
alignments
Link copied to clipboard
val
alignments
:
IntArrayList
attribute
Positions
Link copied to clipboard
val
ProgramLayout
<
Attribute
>
.
attributePositions
:
IntArrayList
attributes
Link copied to clipboard
val
ProgramLayout
<
Attribute
>
.
attributes
:
List
<
Attribute
>
fixed
Location
Link copied to clipboard
val
fixedLocation
:
Int
max
Alignment
Link copied to clipboard
val
maxAlignment
:
Int
total
Size
Link copied to clipboard
val
totalSize
:
Int
Size in bytes for each vertex
uniform
Positions
Link copied to clipboard
val
ProgramLayout
<
Uniform
>
.
uniformPositions
:
IntArrayList
uniforms
Link copied to clipboard
val
ProgramLayout
<
Uniform
>
.
uniforms
:
List
<
Uniform
>
Functions
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
TVariable
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String