OpenBarnyard
 
Loading...
Searching...
No Matches
ASkinMaterial.cpp
Go to the documentation of this file.
1#include "pch.h"
2#include "ASkinMaterial.h"
3
4//-----------------------------------------------------------------------------
5// Enables memory debugging.
6// Note: Should be the last include!
7//-----------------------------------------------------------------------------
9
11
13
22
26
28{
29 SetBlendMode( a_eBlendMode );
30 return TMaterial::Create();
31}
32
34{
35 m_eBlendMode = a_eBlendMode;
36 m_Flags &= ~FLAGS_BLENDING;
37
38 if ( a_eBlendMode != 0 )
39 {
40 m_Flags |= FLAGS_BLENDING;
41 }
42}
#define TOSHI_NAMESPACE_USING
Definition Defines.h:46
#define TDEFINE_CLASS_NORUNTIME(...)
Definition TObject.h:138
#define TNULL
Definition Typedefs.h:23
#define TTRUE
Definition Typedefs.h:25
bool TBOOL
Definition Typedefs.h:6
virtual TBOOL Create()
Definition TMaterial.cpp:40
virtual void SetBlendMode(BLENDMODE a_eBlendMode)
Toshi::TTexture * m_pTexture
virtual TBOOL Create(BLENDMODE a_eBlendMode)
Toshi::TTexture * m_apLightingTextures[LT_NUMOF]
BLENDMODE m_eBlendMode