ui.render vocabulary
Factor handbook ยป Vocabulary index


Documentation
Customizing gadget appearance

Metadata
Parents:ui
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
gl3-state tupleprogram vao vbo projection-loc modelview-loc color-loc use-uniform-color-loc modelview-stack tex-program tex-vao tex-vbo tex-projection-loc tex-modelview-loc tex-sampler-loc


Generic words
WordStack effect
draw-children( gadget -- )
draw-gadget*( gadget -- )
draw-texture-gl3( texture -- )
gadget-background( gadget -- color )
gadget-foreground( gadget -- color )
selected-children( gadget -- assoc/f selection-background )


Symbol words
background
clip
current-modelview
current-projection-dim
foreground
gl-draw-init-hook
gl-init-hook
gl3-render-state
origin
selected-gadgets
selection-background
viewport-translation


Ordinary words
WordStack effect
(draw-gadget)( gadget -- )
(gl3-fill-rect)( -- )
(gl3-fill-rect*-vertices)( loc dim -- vertices )
(gl3-fill-rect-vertices)( loc dim color -- vertices )
(gl3-rect)( -- )
(gl3-rect*-vertices)( loc dim -- vertices )
(gl3-rect-vertices)( loc dim color -- vertices )
>absolute( rect -- rect )
bind-gl3-state( state -- )
bind-texture-state( -- )
change-clip( gadget -- )
cleanup-gl3-state( -- )
create-gl3-program( -- program )
create-gl3-texture-program( -- program )
create-gl3-vao( -- vao )
create-gl3-vbo( -- vbo )
do-clip( -- )
draw-gadget( gadget -- )
draw-single-texture-gl3( texture -- )
flip-rect( rect -- loc dim )
get-texture-uniform-locations( program -- proj-loc mv-loc sampler-loc )
get-uniform-locations( program -- proj-loc mv-loc color-loc use-color-loc )
gl-draw-init( world -- )
gl-draw-init-legacy( world -- )
gl-init( -- )
gl-init-legacy( -- )
gl3-circle*( center radius segments -- )
gl3-clear( color -- )
gl3-color( color -- )
gl3-draw-init( dim background-color -- )
gl3-draw-lines*( vertices n -- )
gl3-draw-texture( loc dim texture-id flipped? -- )
gl3-fill-circle*( center radius segments -- )
gl3-fill-rect( loc dim color -- )
gl3-fill-rect*( loc dim -- )
gl3-fill-rect-raw( loc dim -- )
gl3-fragment-shader-source( -- value )
gl3-full-draw-init( world -- )
gl3-init( -- )
gl3-init-clip( gadget -- )
gl3-line( p1 p2 color -- )
gl3-line*( p1 p2 -- )
gl3-point*( pos -- )
gl3-points*( points -- )
gl3-pop-matrix( -- )
gl3-push-matrix( -- )
gl3-rect( loc dim color -- )
gl3-rect*( loc dim -- )
gl3-rectf( x1 y1 x2 y2 -- )
gl3-reshape( width height -- )
gl3-scale( sx sy -- )
gl3-state>( -- state )
gl3-texture-fragment-shader-source( -- value )
gl3-texture-vertex-shader-source( -- value )
gl3-translate( x y -- )
gl3-vertex-shader-source( -- value )
identity-matrix( -- floats )
init-clip( gadget -- )
init-gl3-state( -- state )
make-2d-ortho( width height -- floats )
make-colored-vertices( points color -- float-array )
make-ortho-matrix( left right bottom top near far -- floats )
make-position-vertices( points -- float-array )
make-scale-matrix( sx sy -- floats )
make-texture-gl3( image -- id )
make-textured-quad-vertices( loc dim -- float-array )
make-textured-quad-vertices-flipped( loc dim -- float-array )
make-translation-matrix( x y -- floats )
mat4-multiply( a b -- c )
reset-gl3-modelview( -- )
restore-color-state( -- )
set-gl3-modelview( matrix -- )
set-gl3-projection( width height -- )
set-gl3-uniform-color( color -- )
set-texture-projection( width height -- )
setup-gl3-hooks( -- )
setup-texture-vertex-attributes( -- )
setup-vertex-attributes( -- )
translate( rect/point -- )
upload-matrix( loc matrix -- )
upload-textured-vertices( float-array -- )
upload-vertices( float-array -- )
use-vertex-colors( -- )
visible-children( gadget -- seq )
with-clipping( gadget quot -- )
with-gl3-matrix( quot -- )
with-gl3-translation( loc quot -- )


Class predicate words
WordStack effect
gl3-state?( object -- ? )


Files


Metadata files


Children from resource:extra
VocabularySummary
ui.render.test