28 #ifndef __GpuProgramManager_H_
29 #define __GpuProgramManager_H_
64 static String addRenderSystemToName(
const String & name );
106 const String& syntaxCode);
109 virtual const SyntaxCodes& getSupportedSyntax(
void)
const;
113 virtual bool isSyntaxSupported(
const String& syntaxCode)
const;
170 ResourcePtr getResourceByName(
const String& name,
bool preferHighLevelPrograms =
true);
191 bool getSaveMicrocodesToCache();
194 void setSaveMicrocodesToCache(
const bool val );
198 bool isCacheDirty(
void)
const;
200 bool canGetCompiledShaderBuffer();
204 virtual bool isMicrocodeAvailableInCache(
const String & name )
const;
208 virtual const Microcode & getMicrocodeFromCache(
const String & name )
const;
218 virtual void addMicrocodeToCache(
const String & name,
const Microcode & microcode );
223 virtual void removeMicrocodeFromCache(
const String & name );
228 virtual void saveMicrocodeCache(
DataStreamPtr stream )
const;