Handbook
Glossary
texture-1d-data-target
Vocabulary
gpu
.
textures
Definition
IN:
gpu.textures
UNION:
texture-1d-data-target
texture-1d
;
Methods
USING:
gpu.textures
gpu.textures.private
opengl.gl
;
M:
texture-1d-data-target
allocate-compressed-texture
[
]
[
glCompressedTexImage1D
]
(allocate-compressed-texture)
;
USING:
gpu.textures
gpu.textures.private
opengl.gl
;
M:
texture-1d-data-target
allocate-texture
[
]
[
glTexImage1D
]
(allocate-texture)
;
USING:
gpu.textures
gpu.textures.private
opengl.gl
opengl.textures
;
M::
texture-1d-data-target
texture-dim
( tdt level -- dim )
tdt
bind-tdt
:>
texture tdt
texture-data-gl-target
level
GL_TEXTURE_WIDTH
get-texture-int
;
inline
USING:
gpu.textures
gpu.textures.private
opengl.gl
;
M:
texture-1d-data-target
update-compressed-texture
[
]
[
glCompressedTexSubImage1D
]
(update-compressed-texture)
;
USING:
gpu.textures
gpu.textures.private
opengl.gl
;
M:
texture-1d-data-target
update-texture
[
]
[
glTexSubImage1D
]
(update-texture)
;