CrystalSpace

Public API Reference

Public Member Functions
CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher Class 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>

List of all members.

Public Member Functions

csPtr< iDataBufferGetHashStream ()
 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.

Detailed Description

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.


Constructor & Destructor Documentation

Set up a hasher for the given node.

Remarks:
A hash for doc itself is not recorded!

Member Function Documentation

Get the hash data for the given node and all included documents.

Check if the given hash data identifies the given node.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.7.6.1