Function libcacaoasset::EncodeCubemap

Function Documentation

void libcacaoasset::EncodeCubemap(const Cubemap &cubemap, std::ostream *stream)

Export a cubemap object to a stream.

Parameters:
  • cubemap – The Cubemap to export

  • stream – The stream to write to

Throws:
  • std::runtime_error – If the stream pointer is invalid

  • std::runtime_error – If encoding fails