Parents: | gpu |
Authors: | Joe Groff |
Class | Superclass | Slots |
compile-shader-error | tuple | shader log |
inaccurate-feedback-attribute-error | tuple | attribute |
invalid-link-feedback-format-error | tuple | format |
link-program-error | tuple | program log |
program | tuple | name filename line shaders vertex-formats feedback-format geometry-shader-parameters instances |
program-instance | gpu-object | program world |
shader | tuple | name kind filename line source instances |
shader-instance | gpu-object | shader world |
too-many-feedback-formats-error | tuple | formats |
vertex-array-collection | tuple | vertex-formats program-instance |
vertex-array-object | gpu-object | program-instance vertex-buffers |
vertex-attribute | tuple | name component-type dim normalize? |
geometry-shader-input |
geometry-shader-output |
shader-kind |
vertex-format |
vertex-array |
Word | Syntax |
GLSL-PROGRAM: | GLSL-PROGRAM: program-name shader shader ... [vertex-format vertex-format ...] [feedback-format: vertex-format] ; |
GLSL-SHADER-FILE: | GLSL-SHADER-FILE: shader-name shader-kind "filename" |
GLSL-SHADER: | GLSL-SHADER: shader-name shader-kind shader source ; |
VERTEX-FORMAT: | VERTEX-FORMAT: format-name { "attribute"/f component-type dimension normalize? } { "attribute"/f component-type dimension normalize? } ... { "attribute"/f component-type dimension normalize? } ; |
VERTEX-STRUCT: | VERTEX-STRUCT: struct-name format-name |
feedback-format: | feedback-format: vertex-format |
geometry-shader-vertices-out: |
Word | Stack effect |
bind-vertex-array | ( vertex-array -- ) |
vertex-array-buffers | ( vertex-array -- buffers ) |
vertex-format-size | ( format -- size ) |
Word | Stack effect |
<multi-vertex-array> | ( vertex-formats program-instance -- vertex-array ) |
<program-instance> | ( program: program -- instance: program-instance ) |
<shader-instance> | ( shader: shader -- instance: shader-instance ) |
<vertex-array*> | ( vertex-buffer program-instance format -- vertex-array ) |
<vertex-array> | ( vertex-buffer program-instance -- vertex-array ) |
?>buffer | ( buffer/ptr -- buffer ) |
?>buffer-ptr | ( buffer/ptr -- buffer-ptr ) |
attribute-index | ( program-instance attribute-name -- index ) |
compile-shader-error | ( shader log -- * ) |
define-vertex-format | ( class vertex-attributes -- ) |
define-vertex-struct | ( class vertex-format -- ) |
inaccurate-feedback-attribute-error | ( attribute -- * ) |
invalid-link-feedback-format-error | ( format -- * ) |
link-program-error | ( program log -- * ) |
output-index | ( program-instance output-name -- index ) |
refresh-program | ( program: program -- ) |
throw-compile-shader-error | ( shader instance -- * ) |
throw-link-program-error | ( program instance -- * ) |
too-many-feedback-formats-error | ( formats -- * ) |
uniform-index | ( program-instance uniform-name -- index ) |
vertex-array-buffer | ( vertex-array: vertex-array -- vertex-buffer: buffer ) |
vertex-format-attributes | ( vertex-format -- attributes ) |
Vocabulary | Summary |
gpu.shaders.prettyprint |