Handbook
Glossary
texture-data-gl-target ( texture -- target )
Vocabulary
gpu
.
textures
.
private
Inputs
texture
an
object
Outputs
target
an
object
Definition
IN:
gpu.textures.private
GENERIC:
texture-data-gl-target
( texture -- target )
Methods
USING:
accessors
combinators
gpu.textures
gpu.textures.private
opengl.gl
;
M:
cube-map-face
texture-data-gl-target
axis>>
{
{
-X
[
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
]
}
{
-Y
[
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
]
}
{
-Z
[
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
]
}
{
+X
[
GL_TEXTURE_CUBE_MAP_POSITIVE_X
]
}
{
+Y
[
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
]
}
{
+Z
[
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
]
}
}
case
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-1d-array
texture-data-gl-target
drop
GL_TEXTURE_1D_ARRAY
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-1d
texture-data-gl-target
drop
GL_TEXTURE_1D
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-2d-array
texture-data-gl-target
drop
GL_TEXTURE_2D_ARRAY
;
inline
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-3d
texture-data-gl-target
drop
GL_TEXTURE_3D
;
inline
USING:
gpu.textures
gpu.textures.private
kernel
opengl.gl
;
M:
texture-rectangle
texture-data-gl-target
drop
GL_TEXTURE_RECTANGLE
;
inline