Handbook
Glossary
shader<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
shader<<
( value object -- )
Methods
USING:
accessors
classes.struct
classes.struct.private
raylib
;
M:
Material
shader<<
T{
struct-slot-spec
{
name
"shader"
}
{
offset 0
}
{
class
Shader
}
{
initial
S{
Shader
{
id 0
}
{
locs
f
}
}
}
{
type
Shader
}
}
write-struct-slot
;
inline
USING:
accessors
gpu.shaders
kernel
slots
slots.private
;
M:
shader-instance
shader<<
[
dup
shader?
[
\
shader
bad-slot-value
]
unless
]
dip
3
set-slot
;
inline