<multimedia:image>.getCompression

Returns the compression mode

 

<multimedia:image>.getCompression()

 

Remarks

This command will return the current compression mode of the texture.

Return Value

One of the following values:

viz.COMPRESSION_DEFAULT
viz.COMPRESSION_ARB
viz.COMPRESSION_DXT1
viz.COMPRESSION_DXT3
viz.COMPRESSION_DXT5

Example

if texture.getCompression() == viz.COMPRESSION_ARB:
    print 'Using OpenGL compression'