Handbook
Glossary
gl-compressed-texture-format ( format -- gl-format )
Vocabulary
gpu
.
textures
.
private
Inputs
format
an
object
Outputs
gl-format
an
object
Definition
USING:
combinators
gpu.textures
opengl.gl
;
IN:
gpu.textures.private
:
gl-compressed-texture-format
( format -- gl-format )
{
{
DXT1-RGB
[
GL_COMPRESSED_RGB_S3TC_DXT1_EXT
]
}
{
DXT1-RGBA
[
GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
]
}
{
DXT3
[
GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
]
}
{
DXT5
[
GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
]
}
{
RGTC1
[
GL_COMPRESSED_RED_RGTC1
]
}
{
RGTC1-SIGNED
[
GL_COMPRESSED_SIGNED_RED_RGTC1
]
}
{
RGTC2
[
GL_COMPRESSED_RG_RGTC2
]
}
{
RGTC2-SIGNED
[
GL_COMPRESSED_SIGNED_RG_RGTC2
]
}
}
case
;
inline