gpu.textures vocabulary
Factor handbook ยป Vocabulary index


Documentation
Texture objects

Metadata
Parents:gpu
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
compressed-texture-data tupleptr format length
cube-map-face tupletexture axis
texture gpu-objectcomponent-order component-type
texture-1d texture
texture-1d-array texture
texture-2d texture
texture-2d-array texture
texture-3d texture
texture-cube-map texture
texture-data tupleptr component-order component-type
texture-parameters tuplewrap min-filter min-mipmap-filter mag-filter min-lod max-lod lod-bias base-level max-level
texture-rectangle texture


Singleton classes
+X
+Y
+Z
-X
-Y
-Z
DXT1-RGB
DXT1-RGBA
DXT3
DXT5
LATC1
LATC1-SIGNED
LATC2
LATC2-SIGNED
RGTC1
RGTC1-SIGNED
RGTC2
RGTC2-SIGNED
clamp-texcoord-to-border
clamp-texcoord-to-edge
filter-linear
filter-nearest
repeat-texcoord
repeat-texcoord-mirrored


Mixin classes
compressed-texture-format
cube-map-axis
texture-filter
texture-wrap


Union classes
texture-1d-data-target
texture-2d-data-target
texture-3d-data-target
texture-data-target
wrap-set


Generic words
WordStack effect
allocate-compressed-texture( tdt level dim compressed-data -- )
allocate-texture( tdt level dim data -- )
texture-dim( tdt level -- dim )
update-compressed-texture( tdt level loc dim compressed-data -- )
update-texture( tdt level loc dim data -- )


Ordinary words
WordStack effect
<compressed-texture-data>( ptr format length -- compressed-texture-data )
<cube-map-face>( texture axis -- cube-map-face )
<texture-1d-array>( component-order component-type parameters -- texture )
<texture-1d>( component-order component-type parameters -- texture )
<texture-2d-array>( component-order component-type parameters -- texture )
<texture-2d>( component-order component-type parameters -- texture )
<texture-3d>( component-order component-type parameters -- texture )
<texture-cube-map>( component-order component-type parameters -- texture )
<texture-data>( ptr component-order component-type -- texture-data )
<texture-rectangle>( component-order component-type parameters -- texture )
allocate-texture-image( tdt level image -- )
compressed-texture-data-size( tdt level -- size )
generate-mipmaps( texture -- )
image>texture-data( image -- dim texture-data )
read-compressed-texture( tdt: texture-data-target level: integer -- byte-array: byte-array )
read-compressed-texture-to( tdt: texture-data-target level: integer gpu-data-ptr -- )
read-texture( tdt: texture-data-target level: integer -- byte-array: byte-array )
read-texture-image( tdt level -- image )
read-texture-to( tdt: texture-data-target level: integer gpu-data-ptr -- )
set-texture-parameters( texture: texture parameters: texture-parameters -- )
texture-data-size( tdt level -- size )
update-texture-image( tdt level loc image -- )


Class predicate words
WordStack effect
+X?( object -- ? )
+Y?( object -- ? )
+Z?( object -- ? )
-X?( object -- ? )
-Y?( object -- ? )
-Z?( object -- ? )
DXT1-RGB?( object -- ? )
DXT1-RGBA?( object -- ? )
DXT3?( object -- ? )
DXT5?( object -- ? )
LATC1-SIGNED?( object -- ? )
LATC1?( object -- ? )
LATC2-SIGNED?( object -- ? )
LATC2?( object -- ? )
RGTC1-SIGNED?( object -- ? )
RGTC1?( object -- ? )
RGTC2-SIGNED?( object -- ? )
RGTC2?( object -- ? )
clamp-texcoord-to-border?( object -- ? )
clamp-texcoord-to-edge?( object -- ? )
compressed-texture-data?( object -- ? )
compressed-texture-format?( object -- ? )
cube-map-axis?( object -- ? )
cube-map-face?( object -- ? )
filter-linear?( object -- ? )
filter-nearest?( object -- ? )
repeat-texcoord-mirrored?( object -- ? )
repeat-texcoord?( object -- ? )
texture-1d-array?( object -- ? )
texture-1d-data-target?( object -- ? )
texture-1d?( object -- ? )
texture-2d-array?( object -- ? )
texture-2d-data-target?( object -- ? )
texture-2d?( object -- ? )
texture-3d-data-target?( object -- ? )
texture-3d?( object -- ? )
texture-cube-map?( object -- ? )
texture-data-target?( object -- ? )
texture-data?( object -- ? )
texture-filter?( object -- ? )
texture-parameters?( object -- ? )
texture-rectangle?( object -- ? )
texture-wrap?( object -- ? )
texture?( object -- ? )
wrap-set?( object -- ? )


Files


Metadata files