From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1UTexture.html | 762 ++++++++++++++++++++++++++++ 1 file changed, 762 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1UTexture.html (limited to 'docs/doxygen/nel/classNL3D_1_1UTexture.html') diff --git a/docs/doxygen/nel/classNL3D_1_1UTexture.html b/docs/doxygen/nel/classNL3D_1_1UTexture.html new file mode 100644 index 00000000..8e91a39c --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1UTexture.html @@ -0,0 +1,762 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::UTexture Class Reference

Game interface for manipulating Basic texture. +More... +

+#include <u_texture.h> +

+

Inheritance diagram for NL3D::UTexture: +

+ +NL3D::CTextureUser +NL3D::UTextureFile +NL3D::UTextureRaw +NL3D::CTextureFileUser +NL3D::CTextureRawUser +NL3D::CTextureFileUser +NL3D::CTextureRawUser + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  TWrapMode { Repeat = 0, +Clamp, +WrapModeCount + }
enum  TUploadFormat {
+  Auto = 0, +RGBA8888, +RGBA4444, +RGBA5551, +
+  RGB888, +RGB565, +DXTC1, +DXTC1Alpha, +
+  DXTC3, +DXTC5, +Luminance, +Alpha, +
+  AlphaLuminance, +DsDt, +UploadFormatCount +
+ }
enum  TMagFilter { Nearest = 0, +Linear, +MagFilterCount + }
 Magnification mode. More...

enum  TMinFilter {
+  NearestMipMapOff = 0, +NearestMipMapNearest, +NearestMipMapLinear, +LinearMipMapOff, +
+  LinearMipMapNearest, +LinearMipMapLinear, +MinFilterCount +
+ }
 Minifying mode. More...


Public Methods

Texture parameters.
virtual void setWrapS (TWrapMode mode)=0
virtual void setWrapT (TWrapMode mode)=0
virtual TWrapMode getWrapS () const=0
virtual TWrapMode getWrapT () const=0
virtual void setUploadFormat (TUploadFormat pf)=0
 Replace the uploaded format of the texture. More...

virtual TUploadFormat getUploadFormat () const=0
virtual void setFilterMode (TMagFilter magf, TMinFilter minf)=0
virtual TMagFilter getMagFilter () const=0
virtual TMinFilter getMinFilter () const=0
virtual bool mipMapOff () const=0
virtual bool mipMapOn () const=0

Protected Methods

Object
 UTexture ()
virtual ~UTexture ()
+

Detailed Description

+Game interface for manipulating Basic texture. +

+

+Author:
+Lionel Berenguier , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 42 of file u_texture.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NL3D::UTexture::TMagFilter +
+
+ + + + + +
+   + + +

+Magnification mode. +

+Same behavior as OpenGL.

+Enumeration values:
+ + + + +
Nearest  +
Linear  +
MagFilterCount  +
+
+ +

+Definition at line 87 of file u_texture.h. +

+Referenced by NL3D::CTextureUser::getMagFilter, and NL3D::CTextureUser::setFilterMode.

+

+ + + + +
+ + +
enum NL3D::UTexture::TMinFilter +
+
+ + + + + +
+   + + +

+Minifying mode. +

+Same behavior as OpenGL. If the bitmap has no mipmap, and mipmap is required, then mipmaps are computed.

+Enumeration values:
+ + + + + + + + +
NearestMipMapOff  +
NearestMipMapNearest  +
NearestMipMapLinear  +
LinearMipMapOff  +
LinearMipMapNearest  +
LinearMipMapLinear  +
MinFilterCount  +
+
+ +

+Definition at line 98 of file u_texture.h. +

+Referenced by NL3D::CTextureUser::getMinFilter, and NL3D::CTextureUser::setFilterMode.

+

+ + + + +
+ + +
enum NL3D::UTexture::TUploadFormat +
+
+ + + + + +
+   + + +

+

+Enumeration values:
+ + + + + + + + + + + + + + + + +
Auto  +
RGBA8888  +
RGBA4444  +
RGBA5551  +
RGB888  +
RGB565  +
DXTC1  +
DXTC1Alpha  +
DXTC3  +
DXTC5  +
Luminance  +
Alpha  +
AlphaLuminance  +
DsDt  +
UploadFormatCount  +
+
+ +

+Definition at line 64 of file u_texture.h. +

+Referenced by NL3D::CTextureUser::getUploadFormat, and NL3D::CTextureUser::setUploadFormat.

+

+ + + + +
+ + +
enum NL3D::UTexture::TWrapMode +
+
+ + + + + +
+   + + +

+

+Enumeration values:
+ + + + +
Repeat  +
Clamp  +
WrapModeCount  +
+
+ +

+Definition at line 56 of file u_texture.h. +

+Referenced by NL3D::CTextureUser::getWrapS, NL3D::CTextureUser::getWrapT, NL3D::CTextureUser::setWrapS, and NL3D::CTextureUser::setWrapT.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::UTexture::UTexture   [inline, protected]
+
+ + + + + +
+   + + +

+ +

+Definition at line 48 of file u_texture.h.

+

+ + + + +
+ + + + + + + + + +
virtual NL3D::UTexture::~UTexture   [inline, protected, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file u_texture.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
virtual TMagFilter NL3D::UTexture::getMagFilter   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + +
virtual TMinFilter NL3D::UTexture::getMinFilter   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + +
virtual TUploadFormat NL3D::UTexture::getUploadFormat   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + +
virtual TWrapMode NL3D::UTexture::getWrapS   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + +
virtual TWrapMode NL3D::UTexture::getWrapT   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + +
virtual bool NL3D::UTexture::mipMapOff   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + +
virtual bool NL3D::UTexture::mipMapOn   const [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NL3D::UTexture::setFilterMode TMagFilter   magf,
TMinFilter   minf
[pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::UTexture::setUploadFormat TUploadFormat   pf [pure virtual]
+
+ + + + + +
+   + + +

+Replace the uploaded format of the texture. +

+If "Auto", the driver use CBitmap::getPixelFormat() to find the best associated pixelFormat. When no alpha is wanted (RGB, Luminance....), texture default output is 1.0. For "Alpha" mode, RGB output is (0,0,0). +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::UTexture::setWrapS TWrapMode   mode [pure 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.
+ +

+Implemented in NL3D::CTextureUser.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::UTexture::setWrapT TWrapMode   mode [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Implemented in NL3D::CTextureUser.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1