|
|
|
|
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 ReferenceUMaterial implementation.
More...
#include <material_user.h>
Inheritance diagram for NL3D::CMaterialUser:
List of all members.
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] |
|
virtual NL3D::CMaterialUser::~CMaterialUser |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
virtual bool NL3D::CMaterialUser::getBlend |
( |
|
) |
const [inline, virtual] |
|
virtual CRGBA NL3D::CMaterialUser::getColor |
( |
void |
|
) |
const [inline, virtual] |
|
virtual bool NL3D::CMaterialUser::getDoubleSided |
( |
|
) |
const [inline, virtual] |
|
virtual TBlend NL3D::CMaterialUser::getDstBlend |
( |
void |
|
) |
const [inline, virtual] |
|
CMaterial& NL3D::CMaterialUser::getMaterial |
( |
|
) |
[inline] |
|
virtual TBlend NL3D::CMaterialUser::getSrcBlend |
( |
void |
|
) |
const [inline, virtual] |
|
virtual float NL3D::CMaterialUser::getZBias |
( |
void |
|
) |
const [inline, virtual] |
|
virtual ZFunc NL3D::CMaterialUser::getZFunc |
( |
void |
|
) |
const [inline, virtual] |
|
virtual bool NL3D::CMaterialUser::getZWrite |
( |
void |
|
) |
const [inline, virtual] |
|
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] |
|
virtual void NL3D::CMaterialUser::setBlend |
( |
bool |
active |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setBlendFunc |
( |
TBlend |
src, |
|
|
TBlend |
dst |
|
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setColor |
( |
CRGBA |
rgba |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setDoubleSided |
( |
bool |
doubleSided = true |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setDstBlend |
( |
TBlend |
val |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setSrcBlend |
( |
TBlend |
val |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setTexture |
( |
UTexture * |
ptex |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setZBias |
( |
float |
val |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setZFunc |
( |
ZFunc |
val |
) |
[inline, virtual] |
|
virtual void NL3D::CMaterialUser::setZWrite |
( |
bool |
active |
) |
[inline, virtual] |
|
virtual bool NL3D::CMaterialUser::texturePresent |
( |
|
) |
[inline, virtual] |
|
Friends And Related Function Documentation
friend class CDriverUser [friend]
|
|
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:
|
|