cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltfReader::ImageReaderResult Struct Reference

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

#include <CesiumGltfReader/ImageDecoder.h>

Public Attributes

CesiumUtility::IntrusivePointer< CesiumGltf::ImageAssetpImage
 The CesiumGltf::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 18 of file ImageDecoder.h.

Member Data Documentation

◆ errors

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

Error messages that occurred while trying to read the image.

Definition at line 30 of file ImageDecoder.h.

◆ pImage

CesiumUtility::IntrusivePointer<CesiumGltf::ImageAsset> CesiumGltfReader::ImageReaderResult::pImage

The CesiumGltf::ImageAsset that was read.

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

Definition at line 25 of file ImageDecoder.h.

◆ warnings

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

Warning messages that occurred while reading the image.

Definition at line 35 of file ImageDecoder.h.


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