cesium-native 0.62.0
Loading...
Searching...
No Matches
CesiumImage::ImageReaderResult Struct Reference

The result of reading an image with ImageDecoder::readImage. More...

#include <CesiumImage/ImageDecoder.h>

Public Attributes

CesiumUtility::IntrusivePointer< ImageAssetpImage
 The ImageAsset that was read.
 
std::vector< std::string > errors
 Error messages that occurred while trying to read the image.
 
std::vector< std::string > warnings
 Warning messages that occurred while reading the image.
 

Detailed Description

The result of reading an image with ImageDecoder::readImage.

Definition at line 19 of file ImageDecoder.h.

Member Data Documentation

◆ errors

std::vector<std::string> CesiumImage::ImageReaderResult::errors

Error messages that occurred while trying to read the image.

Definition at line 31 of file ImageDecoder.h.

◆ pImage

CesiumUtility::IntrusivePointer<ImageAsset> CesiumImage::ImageReaderResult::pImage

The ImageAsset that was read.

This will be std::nullopt if the image could not be read.

Definition at line 26 of file ImageDecoder.h.

◆ warnings

std::vector<std::string> CesiumImage::ImageReaderResult::warnings

Warning messages that occurred while reading the image.

Definition at line 36 of file ImageDecoder.h.


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