![]() |
Kochol Game Engine
0.1.0
|
#include <CMatPhongLighting.h>
Public Member Functions | |
CMatPhong () | |
Constructor. | |
~CMatPhong () | |
Destructor. | |
bool | CreateVertexShaderCode (MaterialParams *pMP, VertexShaderEntry ese) |
Adds Vertex shader code. | |
bool | CreatePixelShaderCode (MaterialParams *pMP, PixelShaderEntry ese) |
Adds pixel shader code. | |
void | SetShaderConstants (ShaderInstance *pSI) |
Set the constants. | |
![]() | |
CustomMaterial () | |
Constructor. | |
virtual | ~CustomMaterial () |
Destructor. | |
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 CustomMaterial * | GetSingletonPtr () |
Returns the singleton pointer. |
Additional Inherited Members | |
![]() | |
void | SetDebugText (char *text) |
![]() | |
CustomMaterialType | m_eType |
Definition at line 15 of file CMatPhongLighting.h.
kge::gfx::CMatPhong::CMatPhong | ( | ) |
Constructor.
kge::gfx::CMatPhong::~CMatPhong | ( | ) |
Destructor.
|
virtual |
Adds pixel shader code.
Implements kge::gfx::CustomMaterial.
|
virtual |
Adds Vertex shader code.
Implements kge::gfx::CustomMaterial.
|
static |
Returns the singleton pointer.
|
virtual |
Set the constants.
Reimplemented from kge::gfx::CustomMaterial.