compress#
- texture.compress(p0: str) int #
Sets the internal compression scheme EnSight uses in memory for the currently selected texture. Scenario files will contain textures stored with the selected form of compression.
- Args:
- p0:
‘RAW’
compression scheme to use.
- p1:
‘RLE’
compression scheme to use.
- p2:
‘GZIP’
compression scheme to use.
- Examples:
ensight.texture.select(1) ensight.texture.compress("RLE")
- Returns:
zero on success, non-zero on error