Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
559 B
C++
33 lines
559 B
C++
#ifndef __CSHADERMANAGER_H__
|
|
#define __CSHADERMANAGER_H__
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
class CShaderScene;
|
|
|
|
class CShaderManager {
|
|
protected:
|
|
std::vector<CShaderScene *> m_lstShaders;
|
|
int m_iShadersNum;
|
|
|
|
bool LoadShader(char *strShader);
|
|
|
|
public:
|
|
|
|
CShaderManager();
|
|
~CShaderManager();
|
|
int GetShader(char *strShader);
|
|
void Apply(int ); // 인자로 넘겨주는 index의 쉐이더를 적용
|
|
void UnApply(int );
|
|
void DeleteAllShader();
|
|
void Init();
|
|
CShaderScene * GetShaderPtr(char *strShader);
|
|
|
|
|
|
};
|
|
|
|
|
|
#endif
|