cesium-native  0.41.0
CesiumGltf::PropertyAttributePropertyView< ElementType, Normalized > Class Template Reference

A view of the data specified by a PropertyAttributeProperty. More...

Detailed Description

template<typename ElementType, bool Normalized = false>
class CesiumGltf::PropertyAttributePropertyView< ElementType, Normalized >

A view of the data specified by a PropertyAttributeProperty.

Ideally, property attribute properties can be initialized as vertex attributes in the target rendering context. However, some runtime engines do not allow custom vertex attributes. To compensate, this view can be used to sample the property attributes property via vertex index.

Template Parameters
ElementTypeThe type of the elements represented in the property view
NormalizedWhether or not the property is normalized. If normalized, the elements can be retrieved as normalized floating-point numbers, as opposed to their integer values.

Definition at line 105 of file PropertyAttributePropertyView.h.


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