|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTextureFile Class ReferenceCTextureFile.
More...
#include <texture_file.h>
Inheritance diagram for NL3D::CTextureFile:
List of all members.
Detailed Description
CTextureFile.
-
Author:
-
Stephane Coutelas , Nevrax France
-
Date:
-
2000
Definition at line 44 of file texture_file.h.
Constructor & Destructor Documentation
NL3D::CTextureFile::CTextureFile |
( |
|
) |
[inline] |
|
NL3D::CTextureFile::CTextureFile |
( |
const CTextureFile & |
other |
) |
|
|
NL3D::CTextureFile::CTextureFile |
( |
const std::string & |
s |
) |
[inline] |
|
Member Function Documentation
virtual bool NL3D::CTextureFile::allowDegradation |
( |
|
) |
const [inline, virtual] |
|
void NL3D::CTextureFile::buildBitmapFromFile |
( |
NLMISC::CBitmap & |
dest, |
|
|
const std::string & |
fileName, |
|
|
bool |
asyncload, |
|
|
uint8 |
mipMapSkip = 0 |
|
) |
[static] |
|
|
==================================================================.
Definition at line 41 of file texture_file.cpp.
References NLMISC::CIFile::allowBNPCacheFileOnOpen, NLMISC::CBitmap::CBitmap, NLMISC::clamp, file, NLMISC::CBitmap::getHeight, NLMISC::CBitmap::getPixels, NLMISC::CBitmap::getWidth, NLMISC::CBitmap::load, NLMISC::CBitmap::makeDummy, nlinfo, nlwarning, NLMISC::CIFile::open, NLMISC::CBitmap::PixelFormat, r, NLMISC::CBitmap::RGBA, NLMISC::CIFile::setAsyncLoading, and NLMISC::CIFile::setCacheFileOnOpen.
Referenced by doGenerate. |
void NL3D::CTextureFile::doGenerate |
( |
|
) |
[virtual] |
|
void NL3D::CTextureFile::dupInfo |
( |
const CTextureFile & |
other |
) |
[private] |
|
void NL3D::CTextureFile::enableSharing |
( |
bool |
enable |
) |
|
|
const std::string& NL3D::CTextureFile::getFileName |
( |
|
) |
const [inline] |
|
|
get the name of the file containing the texture.
-
Returns:
-
name of the file
-
Author:
-
Stephane Coutelas
-
Date:
-
2000
Definition at line 89 of file texture_file.h.
References _FileName. |
uint8 NL3D::CTextureFile::getMipMapSkipAtLoad |
( |
|
) |
const [inline] |
|
std::string NL3D::CTextureFile::getShareName |
( |
|
) |
const [virtual] |
|
|
Return the Unique ident/name of the texture, used for Driver sharing caps.
Deriver should add a prefix for their texture type. eg "file::pipoland", "noise::4-4-2" etc....
Reimplemented from NL3D::ITexture.
Definition at line 268 of file texture_file.cpp.
References _FileName. |
NL3D::CTextureFile::NLMISC_DECLARE_CLASS |
( |
CTextureFile |
|
) |
|
|
CTextureFile & NL3D::CTextureFile::operator= |
( |
const CTextureFile & |
other |
) |
|
|
void NL3D::CTextureFile::setAllowDegradation |
( |
bool |
allow |
) |
|
|
void NL3D::CTextureFile::setAsyncLoading |
( |
bool |
isAsync |
) |
|
|
void NL3D::CTextureFile::setFileName |
( |
const std::string & |
s |
) |
[inline] |
|
void NL3D::CTextureFile::setMipMapSkipAtLoad |
( |
uint8 |
level |
) |
|
|
virtual bool NL3D::CTextureFile::supportSharing |
( |
|
) |
const [inline, virtual] |
|
Member Data Documentation
bool NL3D::CTextureFile::_AllowDegradation [private]
|
|
bool NL3D::CTextureFile::_AsyncLoading [private]
|
|
std::string NL3D::CTextureFile::_FileName [private]
|
|
uint8 NL3D::CTextureFile::_MipMapSkipAtLoad [private]
|
|
bool NL3D::CTextureFile::_SupportSharing [private]
|
|
The documentation for this class was generated from the following files:
|
|