![]() |
Public API Reference |
![]() |
Computes a hash for all referenced documents documents (ie external files pulled in via "file" attributes or ?Include? PIs) of a shader document. More...
#include <csplugincommon/shader/shadercachehelper.h>
Public Member Functions | |
csPtr< iDataBuffer > | GetHashStream () |
Get the hash data for the given node and all included documents. | |
ShaderDocHasher (iObjectRegistry *objReg, iDocumentNode *doc) | |
Set up a hasher for the given node. | |
bool | ValidateHashStream (iDataBuffer *stream) |
Check if the given hash data identifies the given node. |
Computes a hash for all referenced documents documents (ie external files pulled in via "file" attributes or ?Include? PIs) of a shader document.
Definition at line 54 of file shadercachehelper.h.
CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher::ShaderDocHasher | ( | iObjectRegistry * | objReg, |
iDocumentNode * | doc | ||
) |
Set up a hasher for the given node.
Get the hash data for the given node and all included documents.
bool CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher::ValidateHashStream | ( | iDataBuffer * | stream | ) |
Check if the given hash data identifies the given node.