toCompressedFormat

Converts length per pixel to GLenum(compressed pixel format).

GLenum
toCompressedFormat
(
uint lpp
)

Examples

assert( 4.toCompressedFormat == GL_COMPRESSED_RGBA );

Meta