Handbook
Glossary
shader>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
shader>>
( object -- value )
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
}
}
read-struct-slot
;
inline
USING:
accessors
gpu.shaders
slots.private
;
M:
compile-shader-error
shader>>
2
slot
;
inline
USING:
accessors
gpu.shaders
kernel.private
slots.private
;
M:
shader-instance
shader>>
3
slot
{
shader
}
declare
;
inline