nux-1.14.0
|
Public Member Functions | |
NTextureData (BitmapFormat f=BITFMT_R8G8B8A8, t_s32 width=16, t_s32 height=16, t_s32 NumMipmap=1) | |
NTextureData (const NTextureData &) | |
Copy constructor. | |
NTextureData & | operator= (const NTextureData &) |
Assignment constructor. | |
virtual void | Allocate (BitmapFormat f, t_s32 width, t_s32 height, t_s32 NumMipmap=1) |
virtual void | AllocateCheckBoardTexture (t_s32 width, t_s32 height, t_s32 NumMipmap, Color color0, Color color1, t_s32 TileWidth=4, t_s32 TileHeight=4) |
virtual void | AllocateColorTexture (t_s32 width, t_s32 height, t_s32 NumMipmap, Color color0=Color(0xFFFFFFF)) |
virtual const ImageSurface & | GetSurface (t_s32 MipLevel) const |
virtual ImageSurface & | GetSurface (t_s32 MipLevel) |
virtual const ImageSurface & | GetSurface (t_s32 face, t_s32 MipLevel) const |
virtual ImageSurface & | GetSurface (t_s32 face, t_s32 MipLevel) |
bool | SetSurface (t_s32 MipLevel, const ImageSurface &object) |
virtual bool | IsTextureData () const |
virtual t_s32 | GetNumMipmap () const |
virtual t_s32 | GetWidth () const |
virtual t_s32 | GetHeight () const |
virtual BitmapFormat | GetFormat () const |
virtual bool | IsNull () const |
Friends | |
NBitmapData * | read_tga_file (const TCHAR *file_name) |
NBitmapData * | read_bmp_file (const TCHAR *file_name) |
NBitmapData * | read_png_rgb (const TCHAR *filename) |
NBitmapData * | read_png_rgba (const TCHAR *filename) |
Definition at line 223 of file ImageSurface.h.