gpu.state vocabulary
Factor handbook > Vocabulary index


Documentation
GPU state

Meta-data
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
blend-mode tupleequation source-function dest-function
blend-state tupleconstant-color rgb-mode alpha-mode
depth-range-state tuplenear far
depth-state tuplecomparison
line-state tuplewidth antialias?
mask-state tuplecolor depth stencil-front stencil-back
multisample-state tuplemultisample? sample-alpha-to-coverage? sample-alpha-to-one? sample-coverage invert-sample-coverage?
point-state tuplesize sprite-origin fade-threshold
scissor-state tuplerect
stencil-mode tuplevalue mask comparison stencil-fail-op depth-fail-op depth-pass-op
stencil-state tuplefront-mode back-mode
triangle-cull-state tuplefront-face cull
triangle-state tuplefront-mode back-mode antialias?
viewport-state tuplerect


Singleton classes
cmp-always
cmp-equal
cmp-greater
cmp-greater-equal
cmp-less
cmp-less-equal
cmp-never
cmp-not-equal
cull-all
cull-back
cull-front
eq-add
eq-max
eq-min
eq-reverse-subtract
eq-subtract
face-ccw
face-cw
func-constant
func-constant-alpha
func-dest
func-dest-alpha
func-one
func-one-minus-constant
func-one-minus-constant-alpha
func-one-minus-dest
func-one-minus-dest-alpha
func-one-minus-source
func-one-minus-source-alpha
func-source
func-source-alpha
func-source-alpha-saturate
func-zero
op-dec-sat
op-dec-wrap
op-inc-sat
op-inc-wrap
op-invert
op-keep
op-replace
op-zero
origin-lower-left
origin-upper-left
triangle-fill
triangle-lines
triangle-points


Mixin classes
blend-equation
blend-function
comparison
point-sprite-origin
source-only-blend-function
stencil-op
triangle-cull
triangle-face
triangle-mode


Union classes
gpu-state
source-blend-function


Generic words
WordStack effect
set-gpu-state*( state -- )


Ordinary words
WordStack effect
<blend-mode>( equation source-function dest-function -- blend-mode )
<blend-state>( constant-color rgb-mode alpha-mode -- blend-state )
<depth-range-state>( near far -- depth-range-state )
<depth-state>( comparison -- depth-state )
<line-state>( width antialias? -- line-state )
<mask-state>( color depth stencil-front stencil-back -- mask-state )
<multisample-state>( multisample? sample-alpha-to-coverage? sample-alpha-to-one? sample-coverage invert-sample-coverage? -- multisample-state )
<point-state>( size sprite-origin fade-threshold -- point-state )
<scissor-state>( rect -- scissor-state )
<stencil-mode>( value mask comparison stencil-fail-op depth-fail-op depth-pass-op -- stencil-mode )
<stencil-state>( front-mode back-mode -- stencil-state )
<triangle-cull-state>( front-face cull -- triangle-cull-state )
<triangle-state>( front-mode back-mode antialias? -- triangle-state )
<viewport-state>( rect -- viewport-state )
get-blend-state( -- blend-state: blend-state )
get-depth-range-state( -- depth-range-state: depth-range-state )
get-depth-state( -- depth-state: depth-state )
get-gl-bool( enum -- value )
get-gl-bools( enum count -- value )
get-gl-float( enum -- value )
get-gl-floats( enum count -- value )
get-gl-int( enum -- value )
get-gl-ints( enum count -- value )
get-gl-rect( enum -- value )
get-line-state( -- line-state: line-state )
get-mask-state( -- mask-state: mask-state )
get-multisample-state( -- multisample-state: multisample-state )
get-point-state( -- point-state: point-state )
get-scissor-state( -- scissor-state: scissor-state )
get-stencil-state( -- stencil-state: stencil-state )
get-triangle-cull-state( -- triangle-cull-state: triangle-cull-state )
get-triangle-state( -- triangle-state: triangle-state )
get-viewport-state( -- viewport-state: viewport-state )
gl-enabled?( enum -- ? )
set-gpu-state( states -- )


Class predicate words
WordStack effect
blend-equation?( object -- ? )
blend-function?( object -- ? )
blend-mode?( object -- ? )
blend-state?( object -- ? )
cmp-always?( object -- ? )
cmp-equal?( object -- ? )
cmp-greater-equal?( object -- ? )
cmp-greater?( object -- ? )
cmp-less-equal?( object -- ? )
cmp-less?( object -- ? )
cmp-never?( object -- ? )
cmp-not-equal?( object -- ? )
comparison?( object -- ? )
cull-all?( object -- ? )
cull-back?( object -- ? )
cull-front?( object -- ? )
depth-range-state?( object -- ? )
depth-state?( object -- ? )
eq-add?( object -- ? )
eq-max?( object -- ? )
eq-min?( object -- ? )
eq-reverse-subtract?( object -- ? )
eq-subtract?( object -- ? )
face-ccw?( object -- ? )
face-cw?( object -- ? )
func-constant-alpha?( object -- ? )
func-constant?( object -- ? )
func-dest-alpha?( object -- ? )
func-dest?( object -- ? )
func-one-minus-constant-alpha?( object -- ? )
func-one-minus-constant?( object -- ? )
func-one-minus-dest-alpha?( object -- ? )
func-one-minus-dest?( object -- ? )
func-one-minus-source-alpha?( object -- ? )
func-one-minus-source?( object -- ? )
func-one?( object -- ? )
func-source-alpha-saturate?( object -- ? )
func-source-alpha?( object -- ? )
func-source?( object -- ? )
func-zero?( object -- ? )
gpu-state?( object -- ? )
line-state?( object -- ? )
mask-state?( object -- ? )
multisample-state?( object -- ? )
op-dec-sat?( object -- ? )
op-dec-wrap?( object -- ? )
op-inc-sat?( object -- ? )
op-inc-wrap?( object -- ? )
op-invert?( object -- ? )
op-keep?( object -- ? )
op-replace?( object -- ? )
op-zero?( object -- ? )
origin-lower-left?( object -- ? )
origin-upper-left?( object -- ? )
point-sprite-origin?( object -- ? )
point-state?( object -- ? )
scissor-state?( object -- ? )
source-blend-function?( object -- ? )
source-only-blend-function?( object -- ? )
stencil-mode?( object -- ? )
stencil-op?( object -- ? )
stencil-state?( object -- ? )
triangle-cull-state?( object -- ? )
triangle-cull?( object -- ? )
triangle-face?( object -- ? )
triangle-fill?( object -- ? )
triangle-lines?( object -- ? )
triangle-mode?( object -- ? )
triangle-points?( object -- ? )
triangle-state?( object -- ? )
viewport-state?( object -- ? )


Files


Children
VocabularySummary
gpu.state.privategpu.state.private vocabulary