![]() |
Public API 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< iDataBuffer > | ReadDataBuffer (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. | |
Common code for shader caching.
Get a complete data buffer written with WriteDataBuffer from a 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.