compressed-texture-format
GPU-accelerated rendering » Texture objects

Prev:read-texture-image ( tdt level -- image )
Next:compressed-texture-data


Vocabulary
gpu.textures

Class description
compressed-texture-format values are used as part of a compressed-texture-data tuple to specify the binary format of texture data being given to allocate-compressed-texture or update-compressed-texture. The following compressed formats are available:
DXT1-RGB
DXT1-RGBA
DXT3
DXT5
LATC1
LATC1-SIGNED
LATC2
LATC2-SIGNED
RGTC1
RGTC1-SIGNED
RGTC2
RGTC2-SIGNED


Notes
The DXT1 formats require either the GL_EXT_texture_compression_s3tc or GL_EXT_texture_compression_dxt1 extension. The other DXT formats require the GL_EXT_texture_compression_s3tc extension. The LATC formats require the GL_EXT_texture_compression_latc extension. The RGTC formats require OpenGL 3.0 or later or the GL_EXT_texture_compression_rgtc extension.

Definition