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_1CMaterialUser.html | 1034 ++++++++++++++++++++++ 1 file changed, 1034 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CMaterialUser.html (limited to 'docs/doxygen/nel/classNL3D_1_1CMaterialUser.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CMaterialUser.html b/docs/doxygen/nel/classNL3D_1_1CMaterialUser.html new file mode 100644 index 00000000..32422761 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CMaterialUser.html @@ -0,0 +1,1034 @@ + + + + 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::CMaterialUser Class Reference

UMaterial implementation. +More... +

+#include <material_user.h> +

+

Inheritance diagram for NL3D::CMaterialUser: +

+ +NL3D::UMaterial + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

CMaterialgetMaterial ()
Object
 CMaterialUser ()
virtual ~CMaterialUser ()
Texture.
virtual void setTexture (UTexture *ptex)
virtual bool texturePresent ()
virtual void selectTextureSet (uint id)
 select from a texture set for this material (if available). More...

Blending.
virtual void setBlend (bool active)
virtual void setBlendFunc (TBlend src, TBlend dst)
virtual void setSrcBlend (TBlend val)
virtual void setDstBlend (TBlend val)
virtual bool getBlend () const
virtual TBlend getSrcBlend (void) const
virtual TBlend getDstBlend (void) const
ZBuffer.
virtual void setZFunc (ZFunc val)
virtual void setZWrite (bool active)
virtual void setZBias (float val)
virtual ZFunc getZFunc (void) const
virtual bool getZWrite (void) const
virtual float getZBias (void) const
Color/Lighting..
virtual void setColor (CRGBA rgba)
 The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any). More...

virtual CRGBA getColor (void) const
Culling
virtual void setDoubleSided (bool doubleSided=true)
virtual bool getDoubleSided () const
Misc
virtual void initUnlit ()
 Init the material as unlit. More...


Protected Attributes

CMaterial _Material

Friends

class CDriverUser
+

Detailed Description

+UMaterial implementation. +

+

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

+ +

+Definition at line 50 of file material_user.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CMaterialUser::CMaterialUser   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 60 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and nlassert.

+

+ + + + +
+ + + + + + + + + +
virtual NL3D::CMaterialUser::~CMaterialUser   [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 69 of file material_user.h. +

+References NL3D_MEM_MATERIAL.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
virtual bool NL3D::CMaterialUser::getBlend   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 130 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual CRGBA NL3D::CMaterialUser::getColor void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 192 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + +
virtual bool NL3D::CMaterialUser::getDoubleSided   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 206 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual TBlend NL3D::CMaterialUser::getDstBlend void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 140 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and NL3D::UMaterial::TBlend.

+

+ + + + +
+ + + + + + + + + +
CMaterial& NL3D::CMaterialUser::getMaterial   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 231 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual TBlend NL3D::CMaterialUser::getSrcBlend void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 135 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and NL3D::UMaterial::TBlend.

+

+ + + + +
+ + + + + + + + + + +
virtual float NL3D::CMaterialUser::getZBias void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 175 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual ZFunc NL3D::CMaterialUser::getZFunc void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 165 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and NL3D::UMaterial::ZFunc.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NL3D::CMaterialUser::getZWrite void   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 170 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + +
virtual void NL3D::CMaterialUser::initUnlit   [inline, virtual]
+
+ + + + + +
+   + + +

+Init the material as unlit. +

+normal shader, no lighting .... Default to: normal shader, no lighting, color to White(1,1,1,1), no texture, ZBias=0, ZFunc= lessequal, ZWrite==true, no blend. All other states are undefined (such as blend function, since blend is disabled). +

+Implements NL3D::UMaterial. +

+Definition at line 219 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::selectTextureSet uint   id [inline, virtual]
+
+ + + + + +
+   + + +

+select from a texture set for this material (if available). +

+ +

+Implements NL3D::UMaterial. +

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

+References _Material, id, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setBlend bool   active [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 109 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NL3D::CMaterialUser::setBlendFunc TBlend   src,
TBlend   dst
[inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 114 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, src, and NL3D::UMaterial::TBlend.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setColor CRGBA   rgba [inline, virtual]
+
+ + + + + +
+   + + +

+The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any). +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 186 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setDoubleSided bool   doubleSided = true [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 201 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setDstBlend TBlend   val [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 124 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and NL3D::UMaterial::TBlend.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setSrcBlend TBlend   val [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 119 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and NL3D::UMaterial::TBlend.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setTexture UTexture  ptex [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 77 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setZBias float   val [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 160 of file material_user.h. +

+References _Material.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setZFunc ZFunc   val [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 150 of file material_user.h. +

+References _Material, NL3D_MEM_MATERIAL, and NL3D::UMaterial::ZFunc.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CMaterialUser::setZWrite bool   active [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 155 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+

+ + + + +
+ + + + + + + + + +
virtual bool NL3D::CMaterialUser::texturePresent   [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NL3D::UMaterial. +

+Definition at line 92 of file material_user.h. +

+References _Material, and NL3D_MEM_MATERIAL.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CDriverUser [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 54 of file material_user.h.

+


Member Data Documentation

+

+ + + + +
+ + +
CMaterial NL3D::CMaterialUser::_Material [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file material_user.h. +

+Referenced by CMaterialUser, getBlend, getColor, getDoubleSided, getDstBlend, getMaterial, getSrcBlend, getZBias, getZFunc, getZWrite, initUnlit, selectTextureSet, setBlend, setBlendFunc, setColor, setDoubleSided, setDstBlend, setSrcBlend, setTexture, setZBias, setZFunc, setZWrite, and texturePresent.

+


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