Handbook
Glossary
shaders-and-formats ( words -- shaders vertex-formats feedback-format geom-parameters )
Vocabulary
gpu
.
shaders
.
private
Inputs
words
an
object
Outputs
shaders
an
object
vertex-formats
an
object
feedback-format
an
object
geom-parameters
an
object
Definition
USING:
combinators
gpu.shaders
sequences
;
IN:
gpu.shaders.private
:
shaders-and-formats
( words -- shaders vertex-formats feedback-format geom-parameters )
{
[
[
?shader
]
map
sift
]
[
[
vertex-format-attributes
]
filter
]
[
[
feedback-format?
]
filter
validate-feedback-format
]
[
[
geometry-shader-parameter?
]
filter
]
}
cleave
;