cesium-native  0.41.0
CesiumGltf::PropertyArrayView< std::string_view > Class Reference

Public Member Functions

 PropertyArrayView ()
 Constructs an empty array view.
 
 PropertyArrayView (const gsl::span< const std::byte > &values, const gsl::span< const std::byte > &stringOffsets, PropertyComponentType stringOffsetType, int64_t size) noexcept
 Constructs an array view from buffers and their information. More...
 
std::string_view operator[] (int64_t index) const noexcept
 
int64_t size () const noexcept
 

Detailed Description

Definition at line 166 of file PropertyArrayView.h.

Constructor & Destructor Documentation

◆ PropertyArrayView()

CesiumGltf::PropertyArrayView< std::string_view >::PropertyArrayView ( const gsl::span< const std::byte > &  values,
const gsl::span< const std::byte > &  stringOffsets,
PropertyComponentType  stringOffsetType,
int64_t  size 
)
inlinenoexcept

Constructs an array view from buffers and their information.

Parameters
valuesThe buffer containing the values.
stringOffsetsThe buffer containing the string offsets.
stringOffsetTypeThe component type of the string offsets.
sizeThe number of values in the array.

Definition at line 185 of file PropertyArrayView.h.


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