Function libcacaoasset::DecodeCubemap
Defined in File libcacaoasset.hpp
Function Documentation
-
Cubemap libcacaoasset::DecodeCubemap(std::istream *stream)
Decode a cubemap object from the stream data.
- Parameters:
stream – The stream to read data from (warning: this pointer becomes owned exclusively by this function and will be freed when it returns)
- Throws:
std::runtime_error – If the stream pointer is invalid
std::runtime_error – If the stream is not a valid cubemap
std::runtime_error – If decoding fails
- Returns:
The resulting cubemap object