Files
SatyandClaude Opus 5.5 ee8a1c1bc6 ShaderEffect: port ShaderEffect, ShadowCache, manager and parser TUs
ShaderEffect.cpp (0x8728C0-0x873F50), ShadowCache.cpp (0x873F60-0x876370),
ShaderEffectManager.cpp (0x876370-0x876E30) and ShaderEffectParser.cpp
(0x876E30-0x8773F0).

Shared additions: GxRenderTargetSet, CGxDevice::DeviceGetRenderTarget,
C44Matrix::Identity, CWFrustum (m_sceneLink removed: 0xF4 stride),
M2LIGHTTYPE and the CM2Lighting::SetupGxLights declaration.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 00:16:27 +02:00

22 lines
727 B
C++

#ifndef ENGINE_SOURCE_SHADEREFFECT_SHADEREFFECTMANAGER_H
#define ENGINE_SOURCE_SHADEREFFECT_SHADEREFFECTMANAGER_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/ShaderEffect/ShaderEffect.h"
#include "Engine/Source/ShaderEffect/ShaderEffectParser.h"
#include "Engine/Source/Storm/H/stpl.h"
class CShaderEffectManager {
public:
static TSHashTable<CShaderEffect, HASHKEY_STRI> m_ShaderList;
static void AddEffectFile(const char* fileName);
static CShaderEffect* CreateEffect(const char* name);
static void DestroyAllEffects();
static CShaderEffect* GetEffect(const char* name);
static void ParseEffectCallback(const CShaderEffectParser::ParsedEffect& effect, void* param);
};
#endif