littlekt
0.6.0
common
core
/
com.lehaine.littlekt.graphics
/
VertexAttributes
Vertex
Attributes
class
VertexAttributes
(
attributes
:
List
<
VertexAttribute
>
)
:
Iterable
<
VertexAttribute
>
,
Comparable
<
VertexAttributes
>
Constructors
Functions
Properties
Constructors
Vertex
Attributes
Link copied to clipboard
fun
VertexAttributes
(
attributes
:
List
<
VertexAttribute
>
)
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
VertexAttributes
)
:
Int
contains
Link copied to clipboard
fun
contains
(
attribute
:
VertexAttribute
)
:
Boolean
find
By
Usage
Link copied to clipboard
fun
findByUsage
(
usage
:
VertexAttrUsage
)
:
VertexAttribute
?
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
VertexAttribute
get
Offset
Link copied to clipboard
fun
getOffset
(
usage
:
VertexAttrUsage
)
:
Int
get
Offset
Or
Default
Link copied to clipboard
fun
getOffsetOrDefault
(
usage
:
VertexAttrUsage
,
defaultOffsetIfNotFound
:
Int
=
0
)
:
Int
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
VertexAttribute
>
Properties
mask
Link copied to clipboard
val
mask
:
Long
mask
With
Size
Packed
Link copied to clipboard
val
maskWithSizePacked
:
Long
size
Link copied to clipboard
val
size
:
Int
vertex
Size
Link copied to clipboard
val
vertexSize
:
Int