ImagePacker

ImagePacker
Scaleform::GFx::ImagePacker
Declaration
class ImagePacker : public RefCountBaseNTS<ImagePacker,Stat_Default_Mem>;
Description

ImagePacker packs images into large textures. This is intended to be used within gfxexport for producing .gfx files that reference packed textures. Image packer can also be used in a player, but causes:

  • All movies loading to wait for completion.
  • More memory usage for images as the original image data from the SWF file remains.

To enable the image packer, call the below function or similar.

Loader.SetImagePackParams( Ptr<ImagePackParams>(*new ImagePackParams))
File

GFx_ImagePacker.h