27 #ifndef __ShaderPrerequisites_H__
28 #define __ShaderPrerequisites_H__
41 class RenderObjectListener;
42 class TextureUnitState;
44 class ScriptTranslator;
46 class PropertyAbstractNode;
56 class TargetRenderState;
58 class SubRenderStateAccessor;
59 class SubRenderStateFactory;
62 class ProgramProcessor;
67 class FFPRenderStateBuilder;
68 class ShaderGenerator;
69 class SGMaterialSerializerListener;
70 class ProgramWriterFactory;
71 class ProgramWriterManager;
77 seed ^=
FastHash((
const char*)&v,
sizeof(T)) + 0x9e3779b9 + (seed<<6) + (seed>>2);
98 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
99 # if defined( OGRE_STATIC_LIB )
100 # define _OgreRTSSExport
102 # if defined( OgreRTShaderSystem_EXPORTS )
103 # define _OgreRTSSExport __declspec( dllexport )
105 # if defined( __MINGW32__ )
106 # define _OgreRTSSExport
108 # define _OgreRTSSExport __declspec( dllimport )
112 #elif defined ( OGRE_GCC_VISIBILITY )
113 # define _OgreRTSSExport __attribute__ ((visibility("default")))
115 # define _OgreRTSSExport
uint32 _OgreExport FastHash(const char *data, int len, uint32 hashSoFar=0)
Fast general hashing algorithm.
void sh_hash_combine(uint32 &seed, T const &v)
Utility function with same style as boost::hash_combine.
Class for serializing Materials to / from a .material script.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
GeneralAllocatedObject RTShaderSystemAlloc