nux-0.9.46

nux::NCubemapData Class Reference

#include <NuxImage/ImageSurface.h>

Inheritance diagram for nux::NCubemapData:
nux::NBitmapData

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.
NCubemapDataoperator= (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 ImageSurfaceGetSurface (t_s32 face, t_s32 MipLevel) const
virtual ImageSurfaceGetSurface (t_s32 face, t_s32 MipLevel)
virtual const ImageSurfaceGetSurface (t_s32 MipLevel) const
virtual ImageSurfaceGetSurface (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

Constructor & Destructor Documentation

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.


Member Function Documentation

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]
virtual t_s32 nux::NCubemapData::GetNumMipmap ( ) const [virtual]
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]
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 
)

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