Handbook
Glossary
texture-2d
GPU-accelerated rendering
»
Texture objects
»
texture
Prev:
texture-1d
Next:
texture-3d
Vocabulary
gpu
.
textures
Class description
A two-dimensional
texture
object. Textures of this type are dimensioned by pairs of integers in calls to
allocate-texture
and
update-texture
.
See also
<texture-2d>
Definition
IN:
gpu.textures
TUPLE:
texture-2d
<
texture
;
Methods
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-2d
texture-data-gl-target
drop
GL_TEXTURE_2D
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-2d
texture-gl-target
drop
GL_TEXTURE_2D
;
inline