13 #ifndef _FBXSDK_UTILS_PROCESSOR_SHADER_DEPENDENCY_H_ 14 #define _FBXSDK_UTILS_PROCESSOR_SHADER_DEPENDENCY_H_ 38 void ClearProcessedFiles();
44 virtual bool internal_ProcessObject(
FbxObject* pObject);
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS 54 virtual void Destruct(
bool pRecursive);
61 unsigned int operator()(
const FbxString& pValue )
const 66 size_t lLen = pValue.
GetLen();
67 unsigned int lHashValue = 0;
68 const char* lData = pValue.
Buffer();
69 for(
size_t i = 0; i < lLen; ++i )
71 lHashValue += lData[i];
72 lHashValue += (lHashValue << 10);
73 lHashValue ^= (lHashValue >> 16);
75 lHashValue += (lHashValue << 3);
76 lHashValue ^= (lHashValue >> 11);
77 lHashValue += (lHashValue << 15);
88 FileDeleter(
const char* pFileUrl ) : mFileUrl( pFileUrl) {};
91 if( !mFileUrl.IsEmpty() )
97 void Release() { mFileUrl =
""; }
116 const FilePathList& pPaths )
const;
127 DependMap mDependMap;
135 static const int sMaxFileSize;
138 bool AddDependency(
FbxString& pFileUrl );
139 bool AddSystemPaths();
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
FBX SDK environment definition.
This object represents a standard hash map.
Utility class to manipulate strings.
FbxPropertyT< FbxString > AdditionalIncludePaths
The base class of most FBX objects.
This class manages external references to files.
Crawls CgFx and HLSL shader files, copies them, and all dependent shader files into the location spec...
char * Buffer()
Non-const buffer access.
The class and its derived classes(e.g.
Template class for dynamic array holding objects.
A binding table represents a collection of bindings from source types such as FbxObject, or FbxLayerElements to corresponding destinations, usually a third party shader parameters.
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
FbxPropertyT< FbxBool > CleanupOnDestroy
size_t GetLen() const
Get string length like "C" strlen().
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.