Next: Blending and Depth Testing, Previous: Lines and Shapes, Up: Graphics [Contents][Index]
[#:mag-filter nearest] [#:wrap-s repeat] [#:wrap-t repeat]
Load the image data from file and return a new texture object.
min-filter and mag-filter describe the method that should
be used for minification and magnification when rendering,
respectively. Possible values are nearest
and linear
.
wrap-s and wrap-t describe how to interpret texture
coordinates that are greater than 1.0
. Possible values are
repeat
, clamp
, clamp-to-border
, and
clamp-to-edge
.