"L. Spiro Engine"
|
Lambert material. More...
#include <LSDLambertMaterial.h>
Public Member Functions | |
virtual LSSTD_ERRORS LSE_CALL | LoadFromStream (const lsstd::IStream &_sStream, CAllocator *_paAllocator, LSUINT32 _ui32Version) |
virtual LSD_MATERIAL_TYPE LSE_CALL | GetType () const |
Static Protected Member Functions | |
static LSSTD_ERRORS LSE_CALL | LoadColor (const lsstd::IStream &_sStream, LSD_COLOR &_cRet) |
static LSBOOL LSE_CALL | ReadString (const lsstd::IStream &_sStream, CString &_sRet) |
Lambert material.
Class CLambertMaterial Description: Lambert material. It is really the default for all materials.
virtual LSD_MATERIAL_TYPE LSE_CALL lsd::CLambertMaterial::GetType | ( | ) | const [virtual] |
static LSSTD_ERRORS LSE_CALL lsd::CLambertMaterial::LoadColor | ( | const lsstd::IStream & | _sStream, |
LSD_COLOR & | _cRet | ||
) | [static, protected] |
Load a color from the given stream.
_sStream | The stream from which to load color data. |
_cRet | The location where the loaded color data is stored. |
virtual LSSTD_ERRORS LSE_CALL lsd::CLambertMaterial::LoadFromStream | ( | const lsstd::IStream & | _sStream, |
CAllocator * | _paAllocator, | ||
LSUINT32 | _ui32Version | ||
) | [virtual] |
Load material data from a stream.
_sStream | The stream from which to load material data. |
_paAllocator | The allocator to use for all data allocated by this object. |
_ui32Version | File version. |
Implements lsd::CMaterial.
static LSBOOL LSE_CALL lsd::CLambertMaterial::ReadString | ( | const lsstd::IStream & | _sStream, |
CString & | _sRet | ||
) | [static, protected] |
Read a string from a stream.
_sStream | The stream from which to read a string. |
_sRet | The returned string. |