Function libcacaoasset::EncodeMaterial Defined in File libcacaoasset.hpp Function Documentation void libcacaoasset::EncodeMaterial(const Material &material, std::ostream *stream) Export a material object to a stream. Parameters: material – The Material to export stream – The stream to write to Throws: std::runtime_error – If the stream pointer is invalid std::runtime_error – If encoding fails