CesiumGS / cesium-native

Apache License 2.0
414 stars 210 forks source link

Support `KHR_texture_transform` for feature ID and property textures #801

Closed j9liu closed 6 months ago

j9liu commented 7 months ago

Noted from #799.

Support for KHR_texture_transform should also be added for FeatureIdTexture and PropertyTextureProperty, which also subclass TextureInfo. But I don't believe that generate-classes handles extensions of extensions, so there isn't currently a way to indicate this in glTF.json.

This probably means that FeatureIdTextureView and PropertyTexturePropertyView need to store the extension values, too, and apply them to the input UV coordinates.