# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CTextureFileUser Class Reference

UTextureFile implementation. More...

#include <texture_user.h>

Inheritance diagram for NL3D::CTextureFileUser:

NL3D::UTextureFile NL3D::CTextureUser NL3D::UTexture NL3D::UTexture List of all members.

Public Methods

virtual void setFileName (std::string s)
 Set the name of the file containing the texture. More...

virtual std::string getFileName () const
 get the name of the file containing the texture. More...

virtual bool allowDegradation () const
 tells if this texture allow the driver to degrade it (default is false for UTextureFile). More...

virtual void setAllowDegradation (bool allow)
 Change the degradation mode. NB: this must be done before first render(), ie just after creation. More...

Object
 CTextureFileUser ()
 CTextureFileUser (std::string s)
virtual ~CTextureFileUser ()

Detailed Description

UTextureFile implementation.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 154 of file texture_user.h.


Constructor & Destructor Documentation

NL3D::CTextureFileUser::CTextureFileUser   [inline]
 

Definition at line 161 of file texture_user.h.

References NL3D::CTextureUser::_Texture, and NL3D::CTextureUser::CTextureUser.

NL3D::CTextureFileUser::CTextureFileUser std::string    s [inline]
 

Definition at line 165 of file texture_user.h.

References NL3D::CTextureUser::_Texture, NL3D::CTextureUser::CTextureUser, and s.

virtual NL3D::CTextureFileUser::~CTextureFileUser   [inline, virtual]
 

Definition at line 169 of file texture_user.h.


Member Function Documentation

virtual bool NL3D::CTextureFileUser::allowDegradation   const [inline, virtual]
 

tells if this texture allow the driver to degrade it (default is false for UTextureFile).

Implements NL3D::UTextureFile.

Definition at line 185 of file texture_user.h.

References NL3D::CTextureUser::_Texture.

virtual std::string NL3D::CTextureFileUser::getFileName   const [inline, virtual]
 

get the name of the file containing the texture.

Returns:
name of the file
Author:
Stephane Coutelas
Date:
2000

Implements NL3D::UTextureFile.

Definition at line 180 of file texture_user.h.

References NL3D::CTextureUser::_Texture.

virtual void NL3D::CTextureFileUser::setAllowDegradation bool    allow [inline, virtual]
 

Change the degradation mode. NB: this must be done before first render(), ie just after creation.

Implements NL3D::UTextureFile.

Definition at line 189 of file texture_user.h.

References NL3D::CTextureUser::_Texture.

virtual void NL3D::CTextureFileUser::setFileName std::string    s [inline, virtual]
 

Set the name of the file containing the texture.

Parameters:
name  of the file
Author:
Stephane Coutelas
Date:
2000

Implements NL3D::UTextureFile.

Definition at line 175 of file texture_user.h.

References NL3D::CTextureUser::_Texture, and s.


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