TGAImage

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(ushort w, ushort h, ubyte bpp)
Undocumented in source.
this
this(TGAImage img)
Undocumented in source.

Members

Enums

Format
enum Format
Undocumented in source.

Functions

flip_horizontally
bool flip_horizontally()
Undocumented in source. Be warned that the author may not have intended to support it.
flip_vertically
bool flip_vertically()
Undocumented in source. Be warned that the author may not have intended to support it.
get
TGAColor get(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
load_rle_data
bool load_rle_data(File input)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssing
TGAImage opAssing(TGAImage img)
Undocumented in source. Be warned that the author may not have intended to support it.
read_tga_file
bool read_tga_file(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
scale
bool scale(ushort w, ushort h)
Undocumented in source. Be warned that the author may not have intended to support it.
set
bool set(int x, int y, TGAColor c)
Undocumented in source. Be warned that the author may not have intended to support it.
set
bool set(int x, int y, TGAColor c)
Undocumented in source. Be warned that the author may not have intended to support it.
unload_rle_data
bool unload_rle_data(File output)
Undocumented in source. Be warned that the author may not have intended to support it.
write_tga_file
bool write_tga_file(string filename, bool rle)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bytespp
auto bytespp [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
data
auto data [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
auto height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
auto width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_bytespp
ubyte _bytespp;
Undocumented in source.
_data
ubyte[] _data;
Undocumented in source.
_height
ushort _height;
Undocumented in source.
_width
ushort _width;
Undocumented in source.

Meta