HPS::Image Class Reference

#include <hps.h>

Classes

class  ExportOptionsKit
 
class  File
 
class  ImportOptionsKit
 

Public Types

enum  Format : uint32_t {
  Format::RGB, Format::RGBA, Format::ARGB, Format::Mapped8,
  Format::Grayscale, Format::Bmp, Format::Jpeg, Format::Png,
  Format::Targa, Format::DXT1, Format::DXT3, Format::DXT5
}



 

Detailed Description

The Image class contains objects for importing image files and enumerations used when defining images in Visualize.

Member Enumeration Documentation

◆ Format

enum HPS::Image::Format : uint32_t
strong

Enumerates the various image formats that Visualize supports.

Enumerator
RGB 

Uncompressed, one unsigned byte per channel, three unsigned bytes per pixel, RGB order.

RGBA 

Uncompressed, one unsigned byte per channel, four unsigned bytes per pixel, RGBA order.

ARGB 

Uncompressed, one unsigned byte per channel, four unsigned bytes per pixel, ARGB order.

Mapped8 

Uncompressed, one unsigned byte per pixel, each unsigned byte is an index into a material palette.

Grayscale 

Uncompressed, one unsigned byte per pixel.

Bmp 

Uncompressed, 1bpp (Mono), 8 bpp (Greyscale), 16 bpp (ARGB/RGB), 24bpp (RGB), 32bpp (ARGB).

Jpeg 

Compressed, JPEG format.

Png 

Compressed, PNG format.

Targa 

Compressed, TARGA Format.

DXT1 

Compressed, DXT1 Format.

DXT3 

Compressed, DXT3 Format.

DXT5 

Compressed, DXT5 Format.


The documentation for this class was generated from the following file: