added everything
This commit is contained in:
31
engine/lightingSystem/sgDetailMapping.h
Executable file
31
engine/lightingSystem/sgDetailMapping.h
Executable file
@@ -0,0 +1,31 @@
|
||||
//-----------------------------------------------
|
||||
// Synapse Gaming - Lighting System
|
||||
// Copyright <20> Synapse Gaming 2003
|
||||
// Written by John Kabus
|
||||
//-----------------------------------------------
|
||||
#ifndef _SGDETAILMAPPING_H_
|
||||
#define _SGDETAILMAPPING_H_
|
||||
|
||||
class MaterialList;
|
||||
|
||||
class sgDetailMapping
|
||||
{
|
||||
private:
|
||||
TextureHandle *sgWhiteTexture;
|
||||
MaterialList *sgMaterialsCache;
|
||||
Vector<TextureHandle *> sgDetailMaps;
|
||||
public:
|
||||
sgDetailMapping()
|
||||
{
|
||||
sgWhiteTexture = NULL;
|
||||
sgMaterialsCache = NULL;
|
||||
}
|
||||
~sgDetailMapping() {sgClearDetailMapping();}
|
||||
void sgInitDetailMapping(MaterialList *materials);
|
||||
void sgClearDetailMapping();
|
||||
void sgBindDetailMap(U32 surfaceindex);
|
||||
void sgEnableDetailMapping(void *buffer, U32 elementsize);
|
||||
void sgDisableDetailMapping();
|
||||
};
|
||||
|
||||
#endif//_SGDETAILMAPPING_H_
|
||||
Reference in New Issue
Block a user