|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTextureUser Class ReferenceUTexture implementation.
More...
#include <texture_user.h>
Inheritance diagram for NL3D::CTextureUser:
List of all members.
Detailed Description
UTexture implementation.
This Texture must keep a SmartPtr on the real ITexture. Because CMaterial attach texture with SmartPtr too!! -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2001
Definition at line 51 of file texture_user.h.
Constructor & Destructor Documentation
NL3D::CTextureUser::CTextureUser |
( |
ITexture * |
text |
) |
[inline] |
|
virtual NL3D::CTextureUser::~CTextureUser |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
ITexture* NL3D::CTextureUser::getITexture |
( |
|
) |
[inline] |
|
virtual TMagFilter NL3D::CTextureUser::getMagFilter |
( |
|
) |
const [inline, virtual] |
|
virtual TMinFilter NL3D::CTextureUser::getMinFilter |
( |
|
) |
const [inline, virtual] |
|
virtual TUploadFormat NL3D::CTextureUser::getUploadFormat |
( |
|
) |
const [inline, virtual] |
|
virtual TWrapMode NL3D::CTextureUser::getWrapS |
( |
|
) |
const [inline, virtual] |
|
virtual TWrapMode NL3D::CTextureUser::getWrapT |
( |
|
) |
const [inline, virtual] |
|
virtual bool NL3D::CTextureUser::mipMapOff |
( |
|
) |
const [inline, virtual] |
|
virtual bool NL3D::CTextureUser::mipMapOn |
( |
|
) |
const [inline, virtual] |
|
virtual void NL3D::CTextureUser::setFilterMode |
( |
TMagFilter |
magf, |
|
|
TMinFilter |
minf |
|
) |
[inline, virtual] |
|
virtual void NL3D::CTextureUser::setUploadFormat |
( |
TUploadFormat |
pf |
) |
[inline, virtual] |
|
virtual void NL3D::CTextureUser::setWrapS |
( |
TWrapMode |
mode |
) |
[inline, virtual] |
|
|
- MinFilter= LinearMipMapLinear.
NB: if multiple ITexture acces the same data via the sharing system (such as a CTextureFile), then:
- WrapS/WrapT is LOCAL for each ITexture (ie each ITexture will have his own Wrap mode) => no duplication is made.
- UploadFormat may duplicate the texture in video memory. There is one texture per different UploadFormat.
- MinFilter may duplicate the texture in video memory in the same way, wether the texture has mipmap or not.
Implements NL3D::UTexture.
Definition at line 80 of file texture_user.h.
References _Texture, NL3D_MEM_TEXTURE, and NL3D::UTexture::TWrapMode. |
virtual void NL3D::CTextureUser::setWrapT |
( |
TWrapMode |
mode |
) |
[inline, virtual] |
|
Member Data Documentation
CSmartPtr<ITexture> NL3D::CTextureUser::_Texture [protected]
|
|
|
Definition at line 54 of file texture_user.h.
Referenced by NL3D::CTextureFileUser::allowDegradation, NL3D::CTextureFileUser::CTextureFileUser, CTextureUser, NL3D::CTextureFileUser::getFileName, getITexture, getMagFilter, getMinFilter, getUploadFormat, getWrapS, getWrapT, mipMapOff, mipMapOn, NL3D::CTextureFileUser::setAllowDegradation, NL3D::CTextureFileUser::setFileName, setFilterMode, setUploadFormat, setWrapS, and setWrapT. |
The documentation for this class was generated from the following file:
|
|