#include <TexturePNG.h>
Inheritance diagram for TexturePNG:
Public Member Functions | |
TexturePNG () | |
virtual bool | Read (IDataSource *ds) |
Definition at line 25 of file TexturePNG.h.
TexturePNG::TexturePNG | ( | ) | [inline] |
Definition at line 27 of file TexturePNG.h.
bool TexturePNG::Read | ( | IDataSource * | ds | ) | [virtual] |
Reimplemented from Texture.
Definition at line 36 of file TexturePNG.cpp.
References Texture::buffer, Texture::format, Texture::height, Texture::hlog2, idatasource_png_read_data(), perr, IDataSource::read(), TEX_FMT_STANDARD, Texture::width, and Texture::wlog2.