gpu.render vocabulary - Factor Documentation (original) (raw)

gpu.render vocabulary
Factor handbook » Vocabulary index

Documentation
Rendering

Metadata

Parents: gpu
Authors: Joe Groff

Words

Tuple classes

Class Superclass Slots
index-elements tuple ptr count index-type
index-range tuple start count
invalid-uniform-type tuple uniform
multi-index-elements tuple buffer ptrs counts index-type
multi-index-range tuple starts counts
render-set tuple primitive-mode vertex-array uniforms indexes instances framebuffer output-attachments transform-feedback-output
uniform tuple name uniform-type dim
uniform-tuple tuple

Singleton classes

bool-uniform
bvec2-uniform
bvec3-uniform
bvec4-uniform
float-uniform
int-uniform
ivec2-uniform
ivec3-uniform
ivec4-uniform
line-loop-mode
line-strip-mode
line-strip-with-adjacency-mode
lines-mode
lines-with-adjacency-mode
mat2-uniform
mat2x3-uniform
mat2x4-uniform
mat3-uniform
mat3x2-uniform
mat3x4-uniform
mat4-uniform
mat4x2-uniform
mat4x3-uniform
points-mode
texture-uniform
triangle-fan-mode
triangle-strip-mode
triangle-strip-with-adjacency-mode
triangles-mode
triangles-with-adjacency-mode
ubyte-indexes
uint-indexes
uint-uniform
ushort-indexes
uvec2-uniform
uvec3-uniform
uvec4-uniform
vec2-uniform
vec3-uniform
vec4-uniform

Mixin classes

index-type
primitive-mode
uniform-type

Union classes

transform-feedback-output
vertex-indexes

Parsing words

Word Syntax
UNIFORM-TUPLE: UNIFORM-TUPLE: class-name { "slot" uniform-type dimension } { "slot" uniform-type dimension } ... { "slot" uniform-type dimension } ;

Ordinary words

Word Stack effect
2 ( x y quot-assoc -- render-set )
3 ( x y z quot-assoc -- render-set )
( ptr count index-type -- index-elements )
( start count -- index-range )
( buffer ptrs counts index-type -- multi-index-elements )
( starts counts -- multi-index-range )
( x quot-assoc -- render-set )
bind-uniforms ( program-instance uniforms -- )
define-uniform-tuple ( class superclass uniforms -- )
invalid-uniform-type ( uniform -- * )
mat2x2-uniform ( -- value )
mat3x3-uniform ( -- value )
mat4x4-uniform ( -- value )
render ( render-set -- )

Class predicate words

Word Stack effect
bool-uniform? ( object -- ? )
bvec2-uniform? ( object -- ? )
bvec3-uniform? ( object -- ? )
bvec4-uniform? ( object -- ? )
float-uniform? ( object -- ? )
index-elements? ( object -- ? )
index-range? ( object -- ? )
index-type? ( object -- ? )
int-uniform? ( object -- ? )
invalid-uniform-type? ( object -- ? )
ivec2-uniform? ( object -- ? )
ivec3-uniform? ( object -- ? )
ivec4-uniform? ( object -- ? )
line-loop-mode? ( object -- ? )
line-strip-mode? ( object -- ? )
line-strip-with-adjacency-mode? ( object -- ? )
lines-mode? ( object -- ? )
lines-with-adjacency-mode? ( object -- ? )
mat2-uniform? ( object -- ? )
mat2x3-uniform? ( object -- ? )
mat2x4-uniform? ( object -- ? )
mat3-uniform? ( object -- ? )
mat3x2-uniform? ( object -- ? )
mat3x4-uniform? ( object -- ? )
mat4-uniform? ( object -- ? )
mat4x2-uniform? ( object -- ? )
mat4x3-uniform? ( object -- ? )
multi-index-elements? ( object -- ? )
multi-index-range? ( object -- ? )
points-mode? ( object -- ? )
primitive-mode? ( object -- ? )
render-set? ( object -- ? )
texture-uniform? ( object -- ? )
transform-feedback-output? ( object -- ? )
triangle-fan-mode? ( object -- ? )
triangle-strip-mode? ( object -- ? )
triangle-strip-with-adjacency-mode? ( object -- ? )
triangles-mode? ( object -- ? )
triangles-with-adjacency-mode? ( object -- ? )
ubyte-indexes? ( object -- ? )
uint-indexes? ( object -- ? )
uint-uniform? ( object -- ? )
uniform-tuple? ( object -- ? )
uniform-type? ( object -- ? )
uniform? ( object -- ? )
ushort-indexes? ( object -- ? )
uvec2-uniform? ( object -- ? )
uvec3-uniform? ( object -- ? )
uvec4-uniform? ( object -- ? )
vec2-uniform? ( object -- ? )
vec3-uniform? ( object -- ? )
vec4-uniform? ( object -- ? )
vertex-indexes? ( object -- ? )

Files

resource:extra/gpu/render/render.factor
resource:extra/gpu/render/render-docs.factor
resource:extra/gpu/render/render-tests.factor

Metadata files

resource:extra/gpu/render/authors.txt
resource:extra/gpu/render/summary.txt