NL3D::CHLSColorTexture::CMask Struct Reference


Public Member Functions

void serial (NLMISC::IStream &f)
void setBit (uint bitId)

Data Fields

std::vector< uint8Data
 Raw Data. First come the Mixt block (16*uint8). Then come the FullBlockIndex bits, then the MixtBlockIndex bits.

uint32 FullBlockIndex
uint32 MixtBlockIndex

Member Function Documentation

void NL3D::CHLSColorTexture::CMask::serial NLMISC::IStream f  ) 
 

Definition at line 57 of file hls_color_texture.cpp.

References Data, FullBlockIndex, MixtBlockIndex, NLMISC::IStream::serial(), NLMISC::IStream::serialCont(), and NLMISC::IStream::serialVersion().

00058 {
00059         f.serialVersion(0);
00060 
00061         f.serial(FullBlockIndex);
00062         f.serial(MixtBlockIndex);
00063         f.serialCont(Data);
00064 }

void NL3D::CHLSColorTexture::CMask::setBit uint  bitId  ) 
 

Definition at line 68 of file hls_color_texture.cpp.

References Data, uint, and uint8.

Referenced by NL3D::CHLSColorTexture::addMask().

00069 {
00070         uint8   &b= Data[bitId/8];
00071         b|= 1<<(bitId&7);
00072 }


Field Documentation

std::vector<uint8> NL3D::CHLSColorTexture::CMask::Data
 

Raw Data. First come the Mixt block (16*uint8). Then come the FullBlockIndex bits, then the MixtBlockIndex bits.

Definition at line 109 of file hls_color_texture.h.

Referenced by NL3D::CHLSColorTexture::addMask(), NL3D::CHLSColorTexture::buildColorVersion(), serial(), and setBit().

uint32 NL3D::CHLSColorTexture::CMask::FullBlockIndex
 

Definition at line 106 of file hls_color_texture.h.

Referenced by NL3D::CHLSColorTexture::addMask(), NL3D::CHLSColorTexture::buildColorVersion(), and serial().

uint32 NL3D::CHLSColorTexture::CMask::MixtBlockIndex
 

Definition at line 107 of file hls_color_texture.h.

Referenced by NL3D::CHLSColorTexture::addMask(), NL3D::CHLSColorTexture::buildColorVersion(), and serial().


The documentation for this struct was generated from the following files:
Generated on Tue Mar 16 06:47:07 2004 for NeL by doxygen 1.3.6