Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Assets::AssetPackSerializer::AssetPackageSerializer Class Reference

Public Member Functions

 AssetPackageSerializer (const std::filesystem::path &outputDir, const std::string &archiveName)
 
void AddEntry (Editor::AssetRegistry::Entry &entry)
 
void WriteBuffer (size_t bufferIndex) const
 
void WriteDirectory ()
 
uint16_t FindSuitableBufferIndex (uint64_t size)
 
size_t GetBufferCount () const
 

Protected Attributes

ArchiveDirectory archiveDirectory
 
std::vector< ResizableBufferbuffers
 
const uint64_t archiveSize = 1024ul * 1024ul * 200ul
 
std::filesystem::path outputDirectory
 
ResizableBuffer resizableStringBuffer {10485760}
 
std::string archiveName
 

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