CrystalSpace

Public API Reference

CS::PluginCommon::ShaderCacheHelper Namespace Reference

Common code for shader caching. More...

Classes

class  MicroArchive
 A simple archive format. More...
class  MicroArchiveCache
 iHierarchicalCache implementation storing everything in a MicroArchive. More...
class  ShaderDocHasher
 Computes a hash for all referenced documents documents (ie external files pulled in via "file" attributes or ?Include? PIs) of a shader document. More...
class  StringStoreReader
 Helper to read strings written with StringStoreWriter. More...
class  StringStoreWriter
 Helper to write strings in an efficient way (each string once). More...

Functions

csPtr< iDataBufferReadDataBuffer (iFile *file)
 Get a complete data buffer written with WriteDataBuffer from a file.
csString ReadString (iFile *file)
 Read a character string from a file.
bool WriteDataBuffer (iFile *file, iDataBuffer *buf)
 Write a complete data buffer to a file.
bool WriteString (iFile *file, const char *str)
 Write a character string to a file.

Detailed Description

Common code for shader caching.


Function Documentation

csPtr<iDataBuffer> CS::PluginCommon::ShaderCacheHelper::ReadDataBuffer ( iFile file  ) 

Get a complete data buffer written with WriteDataBuffer from a file.

csString CS::PluginCommon::ShaderCacheHelper::ReadString ( iFile file  ) 

Read a character string from a file.

bool CS::PluginCommon::ShaderCacheHelper::WriteDataBuffer ( iFile file,
iDataBuffer buf 
)

Write a complete data buffer to a file.

bool CS::PluginCommon::ShaderCacheHelper::WriteString ( iFile file,
const char *  str 
)

Write a character string to a file.


Generated for Crystal Space 2.1 by doxygen 1.6.1