#include "CesiumMetadataValueType.h"
#include <cstdlib>
#include <type_traits>
#include "CesiumMetadataEncodingDetails.generated.h"
Go to the source code of this file.
◆ ECesiumEncodedMetadataComponentType
The component type that a metadata property's values will be encoded as.
These correspond to the pixel component types that are supported in Unreal textures.
| Enumerator |
|---|
| None | |
| Uint8 | |
| Float | |
Definition at line 19 of file CesiumMetadataEncodingDetails.h.
◆ ECesiumEncodedMetadataConversion
Indicates how a property value from EXT_structural_metadata should be converted to a GPU-accessible type, if possible.
| Enumerator |
|---|
| None | Do nothing.
This is typically used for property types that are completely unable to be coerced.
|
| Coerce | Coerce the components of a property value to the specified component type.
If the property contains string values, this attempts to parse numbers from the strings as uint8s.
|
| ParseColorFromString | Attempt to parse a color from a string property value.
This supports the following formats:
rgb(R, G, B), where R, G, and B are values in the range [0, 255]
- hexcode colors, e.g.
#ff0000
|
Definition at line 58 of file CesiumMetadataEncodingDetails.h.
◆ ECesiumEncodedMetadataType
◆ CesiumGetEncodedMetadataTypeComponentCount()
Gets the number of components associated with the given encoded type.
- Parameters
-
| type | The encoded metadata type. |
◆ CesiumMetadataComponentTypeToEncodingType()
Gets the best-fitting encoded type for the given metadata component type.
◆ CesiumMetadataTypeToEncodingType()
Gets the best-fitting encoded type for the given metadata type.