Handbook
Glossary
bunny-vertex-struct
Vocabulary
gpu
.
demos
.
bunny
Definition
USING:
classes.struct
math.vectors.simd
;
IN:
gpu.demos.bunny
STRUCT:
bunny-vertex-struct
{
vertex
float-4
initial:
float-4{
0.0 0.0 0.0 0.0
}
}
{
normal
float-4
initial:
float-4{
0.0 0.0 0.0 0.0
}
}
;
Methods
USING:
classes.struct
classes.struct.private
gpu.demos.bunny
kernel
;
M:
bunny-vertex-struct
clone
clone-underlying
\
bunny-vertex-struct
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
gpu.demos.bunny
;
M:
bunny-vertex-struct
struct-slot-values
{
[
vertex>>
]
[
normal>>
]
}
cleave>array
;
inline