Handbook
Glossary
texture-gl-target ( texture -- target )
Vocabulary
gpu
.
textures
.
private
Inputs
texture
an
object
Outputs
target
an
object
Definition
IN:
gpu.textures.private
GENERIC:
texture-gl-target
( texture -- target )
Methods
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-1d-array
texture-gl-target
drop
GL_TEXTURE_1D_ARRAY
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-1d
texture-gl-target
drop
GL_TEXTURE_1D
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-2d-array
texture-gl-target
drop
GL_TEXTURE_2D_ARRAY
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-2d
texture-gl-target
drop
GL_TEXTURE_2D
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-3d
texture-gl-target
drop
GL_TEXTURE_3D
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-cube-map
texture-gl-target
drop
GL_TEXTURE_CUBE_MAP
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-rectangle
texture-gl-target
drop
GL_TEXTURE_RECTANGLE
;
inline