Class: DDS

DDS

DDS is an importer for dxt compressed textures in Microsoft's DDS format. Yields a Texture2D or TextureCube object. Currently supported formats are:

  • DXT1 (only if capabilities.EXT_COMPRESSED_TEXTURE_S3TC exists)
  • DXT3 (only if capabilities.EXT_COMPRESSED_TEXTURE_S3TC exists)
  • DXT5 (only if capabilities.EXT_COMPRESSED_TEXTURE_S3TC exists)
  • Float16 RGBA, RG, RED
  • Float32 RGBA, RG, RED

For any uncompressed "unsigned byte" type formats, you should stick to JPG/PNG.


new DDS()

Author:
  • derschmale <http://www.derschmale.com>

Extends

  • Importer