![]() |
Kochol Game Engine
0.1.0
|
Simple lighting. More...
#include <CustomMaterial.h>
Public Member Functions | |
SimpleLightingCM () | |
virtual bool | CreateVertexShaderCode (MaterialParams *pMP, VertexShaderEntry ese) |
Adds simple lighting vertex shader code. | |
virtual bool | CreatePixelShaderCode (MaterialParams *pMP, PixelShaderEntry ese) |
Adds simple lighting pixel shader code. | |
![]() | |
CustomMaterial () | |
Constructor. | |
virtual | ~CustomMaterial () |
Destructor. | |
virtual void | SetShaderConstants (ShaderInstance *pSI) |
virtual CustomMaterial * | GetCopy () |
CustomMaterialType | GetType () |
![]() | |
KgeUnknown () | |
Constructor. | |
virtual | ~KgeUnknown () |
Destructor. | |
virtual void | AddRef () |
Add a reference to the object. | |
virtual void | DecRef () |
Decrease a reference from the object. if its reference count get 0 then the object will destroy. | |
u32 | GetRefCount () |
Return resource reference count. | |
const char * | GetDebugText () |
returns the instance debug text. |
Static Public Member Functions | |
static SimpleLightingCM * | GetSingletonPtr () |
Additional Inherited Members | |
![]() | |
void | SetDebugText (char *text) |
![]() | |
CustomMaterialType | m_eType |
Simple lighting.
Definition at line 72 of file CustomMaterial.h.
|
inline |
Definition at line 76 of file CustomMaterial.h.
References kge::gfx::ECMT_Lighting, and kge::gfx::CustomMaterial::m_eType.
|
virtual |
Adds simple lighting pixel shader code.
Implements kge::gfx::CustomMaterial.
|
virtual |
Adds simple lighting vertex shader code.
Implements kge::gfx::CustomMaterial.
|
static |