|
nux-0.9.46
|
#include <NuxImage/ImageSurface.h>
Public Member Functions | |
| NCubemapData (BitmapFormat f=BITFMT_R8G8B8A8, t_s32 width=16, t_s32 height=16, t_s32 NumMipmap=1) | |
| virtual | ~NCubemapData () |
| NCubemapData (const NCubemapData &) | |
| Copy constructor. | |
| NCubemapData & | operator= (const NCubemapData &) |
| 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 face, t_s32 MipLevel) const |
| virtual ImageSurface & | GetSurface (t_s32 face, t_s32 MipLevel) |
| virtual const ImageSurface & | GetSurface (t_s32 MipLevel) const |
| virtual ImageSurface & | GetSurface (t_s32 MipLevel) |
| bool | SetSurface (t_s32 face, t_s32 MipLevel, const ImageSurface &object) |
| virtual bool | IsCubemapTextureData () const |
| virtual t_s32 | GetNumMipmap () const |
| virtual t_s32 | GetWidth () const |
| virtual t_s32 | GetHeight () const |
| virtual BitmapFormat | GetFormat () const |
| virtual bool | IsNull () const |
| nux::NCubemapData::NCubemapData | ( | BitmapFormat | f = BITFMT_R8G8B8A8, |
| t_s32 | width = 16, |
||
| t_s32 | height = 16, |
||
| t_s32 | NumMipmap = 1 |
||
| ) |
| virtual nux::NCubemapData::~NCubemapData | ( | ) | [virtual] |
| nux::NCubemapData::NCubemapData | ( | const NCubemapData & | ) |
Copy constructor.
| virtual void nux::NCubemapData::Allocate | ( | BitmapFormat | f, |
| t_s32 | width, | ||
| t_s32 | height, | ||
| t_s32 | NumMipmap = 1 |
||
| ) | [virtual] |
| virtual void nux::NCubemapData::AllocateCheckBoardTexture | ( | t_s32 | width, |
| t_s32 | height, | ||
| t_s32 | NumMipmap, | ||
| Color | color0, | ||
| Color | color1, | ||
| t_s32 | TileWidth = 4, |
||
| t_s32 | TileHeight = 4 |
||
| ) | [virtual] |
| virtual void nux::NCubemapData::AllocateColorTexture | ( | t_s32 | width, |
| t_s32 | height, | ||
| t_s32 | NumMipmap, | ||
| Color | color0 = Color(0xFFFFFFF) |
||
| ) | [virtual] |
| virtual BitmapFormat nux::NCubemapData::GetFormat | ( | ) | const [inline, virtual] |
Implements nux::NBitmapData.
Referenced by nux::TextureCube::GetFormat().
| virtual t_s32 nux::NCubemapData::GetHeight | ( | ) | const [inline, virtual] |
Implements nux::NBitmapData.
Referenced by nux::TextureCube::GetHeight(), and nux::TextureCube::IsPowerOfTwo().
| virtual t_s32 nux::NCubemapData::GetNumMipmap | ( | ) | const [virtual] |
Implements nux::NBitmapData.
Referenced by nux::TextureCube::GetNumMipLevel().
| virtual ImageSurface& nux::NCubemapData::GetSurface | ( | t_s32 | MipLevel | ) | [inline, virtual] |
Implements nux::NBitmapData.
References GetSurface(), nuxAssertMsg, and TEXT.
| virtual const ImageSurface& nux::NCubemapData::GetSurface | ( | t_s32 | face, |
| t_s32 | MipLevel | ||
| ) | const [inline, virtual] |
Implements nux::NBitmapData.
Referenced by GetSurface().
| virtual ImageSurface& nux::NCubemapData::GetSurface | ( | t_s32 | face, |
| t_s32 | MipLevel | ||
| ) | [inline, virtual] |
Implements nux::NBitmapData.
| virtual const ImageSurface& nux::NCubemapData::GetSurface | ( | t_s32 | MipLevel | ) | const [inline, virtual] |
Implements nux::NBitmapData.
References GetSurface(), nuxAssertMsg, and TEXT.
| virtual t_s32 nux::NCubemapData::GetWidth | ( | ) | const [inline, virtual] |
Implements nux::NBitmapData.
Referenced by nux::TextureCube::GetWidth(), and nux::TextureCube::IsPowerOfTwo().
| virtual bool nux::NCubemapData::IsCubemapTextureData | ( | ) | const [inline, virtual] |
Reimplemented from nux::NBitmapData.
| virtual bool nux::NCubemapData::IsNull | ( | ) | const [inline, virtual] |
Implements nux::NBitmapData.
Referenced by nux::TextureCube::IsNull().
| NCubemapData& nux::NCubemapData::operator= | ( | const NCubemapData & | ) |
Assignment constructor.
| bool nux::NCubemapData::SetSurface | ( | t_s32 | face, |
| t_s32 | MipLevel, | ||
| const ImageSurface & | object | ||
| ) |