cesium-native 0.44.2
Loading...
Searching...
No Matches
CesiumGltf::PropertyTexturePropertyViewStatus Class Reference

Indicates the status of a property texture property view. More...

#include <CesiumGltf/PropertyTexturePropertyView.h>

Inheritance diagram for CesiumGltf::PropertyTexturePropertyViewStatus:
CesiumGltf::PropertyViewStatus

Static Public Attributes

static const int ErrorInvalidPropertyTexture = 14
 This property view was initialized from an invalid PropertyTexture.
 
static const int ErrorUnsupportedProperty = 15
 This property view is associated with a ClassProperty of an unsupported type.
 
static const int ErrorInvalidTexture = 16
 This property view does not have a valid texture index.
 
static const int ErrorInvalidSampler = 17
 This property view does not have a valid sampler index.
 
static const int ErrorInvalidImage = 18
 This property view does not have a valid image index.
 
static const int ErrorEmptyImage = 19
 This property is viewing an empty image.
 
static const int ErrorInvalidBytesPerChannel = 20
 This property uses an image with multi-byte channels. Only single-byte channels are supported.
 
static const int ErrorInvalidChannels = 21
 The channels of this property texture property are invalid. Channels must be in the range 0-N, where N is the number of available channels in the image. There must be a minimum of one channel. Although more than four channels can be defined for specialized texture formats, this implementation only supports four channels max.
 
static const int ErrorChannelsAndTypeMismatch = 22
 The channels of this property texture property do not provide the exact number of bytes required by the property type. This may be because an incorrect number of channels was provided, or because the image itself has a different channel count / byte size than expected.
 
- Static Public Attributes inherited from CesiumGltf::PropertyViewStatus
static const PropertyViewStatusType Valid = 0
 This property view is valid and ready to use.
 
static const PropertyViewStatusType EmptyPropertyWithDefault = 1
 This property view does not contain any data, but specifies a default value. This happens when a class property is defined with a default value and omitted from an instance of the class's collective properties. In this case, it is not possible to retrieve the raw data from a property, but its default value will be accessible.
 
static const PropertyViewStatusType ErrorNonexistentProperty = 2
 This property view is trying to view a property that does not exist.
 
static const PropertyViewStatusType ErrorTypeMismatch = 3
 This property view's type does not match what is specified in ClassProperty::type.
 
static const PropertyViewStatusType ErrorComponentTypeMismatch = 4
 This property view's component type does not match what is specified in ClassProperty::componentType.
 
static const PropertyViewStatusType ErrorArrayTypeMismatch = 5
 This property view differs from what is specified in ClassProperty::array.
 
static const PropertyViewStatusType ErrorInvalidNormalization = 6
 This property says it is normalized, but it does not have an integer component type.
 
static const PropertyViewStatusType ErrorNormalizationMismatch = 7
 This property view's normalization differs from what is specified in ClassProperty::normalized.
 
static const PropertyViewStatusType ErrorInvalidOffset = 8
 The property provided an invalid offset value.
 
static const PropertyViewStatusType ErrorInvalidScale = 9
 The property provided an invalid scale value.
 
static const PropertyViewStatusType ErrorInvalidMax = 10
 The property provided an invalid maximum value.
 
static const PropertyViewStatusType ErrorInvalidMin = 11
 The property provided an invalid minimum value.
 
static const PropertyViewStatusType ErrorInvalidNoDataValue = 12
 The property provided an invalid "no data" value.
 
static const PropertyViewStatusType ErrorInvalidDefaultValue = 13
 The property provided an invalid default value.
 

Detailed Description

Indicates the status of a property texture property view.

The PropertyTexturePropertyView constructor always completes successfully. However it may not always reflect the actual content of the corresponding property texture property. This enumeration provides the reason.

Definition at line 27 of file PropertyTexturePropertyView.h.

Member Data Documentation

◆ ErrorChannelsAndTypeMismatch

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorChannelsAndTypeMismatch = 22
static

The channels of this property texture property do not provide the exact number of bytes required by the property type. This may be because an incorrect number of channels was provided, or because the image itself has a different channel count / byte size than expected.

Definition at line 82 of file PropertyTexturePropertyView.h.

◆ ErrorEmptyImage

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorEmptyImage = 19
static

This property is viewing an empty image.

Definition at line 59 of file PropertyTexturePropertyView.h.

◆ ErrorInvalidBytesPerChannel

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorInvalidBytesPerChannel = 20
static

This property uses an image with multi-byte channels. Only single-byte channels are supported.

Definition at line 65 of file PropertyTexturePropertyView.h.

◆ ErrorInvalidChannels

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorInvalidChannels = 21
static

The channels of this property texture property are invalid. Channels must be in the range 0-N, where N is the number of available channels in the image. There must be a minimum of one channel. Although more than four channels can be defined for specialized texture formats, this implementation only supports four channels max.

Definition at line 74 of file PropertyTexturePropertyView.h.

◆ ErrorInvalidImage

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorInvalidImage = 18
static

This property view does not have a valid image index.

Definition at line 54 of file PropertyTexturePropertyView.h.

◆ ErrorInvalidPropertyTexture

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorInvalidPropertyTexture = 14
static

This property view was initialized from an invalid PropertyTexture.

Definition at line 33 of file PropertyTexturePropertyView.h.

◆ ErrorInvalidSampler

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorInvalidSampler = 17
static

This property view does not have a valid sampler index.

Definition at line 49 of file PropertyTexturePropertyView.h.

◆ ErrorInvalidTexture

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorInvalidTexture = 16
static

This property view does not have a valid texture index.

Definition at line 44 of file PropertyTexturePropertyView.h.

◆ ErrorUnsupportedProperty

const int CesiumGltf::PropertyTexturePropertyViewStatus::ErrorUnsupportedProperty = 15
static

This property view is associated with a ClassProperty of an unsupported type.

Definition at line 39 of file PropertyTexturePropertyView.h.


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