Go to the documentation of this file.
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;
unsigned long long int ResourceHandle
MemoryDataStreamPtr Microcode
set< String >::type SyntaxCodes
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Template class for creating single-instance global classes.
Defines a generic resource handler.
Reference-counted shared pointer, used for objects where implicit destruction is required.
Abstract class representing a loadable resource (e.g.
map< String, GpuSharedParametersPtr >::type SharedParametersMap
SharedParametersMap mSharedParametersMap
bool mSaveMicrocodesToCache
MicrocodeMap mMicrocodeCache
map< String, Microcode >::type MicrocodeMap
Interface describing a manual resource loader.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15