FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
fcb::TextureMapping Struct Reference

One theme's texture mapping. More...

#include <fcb/writer/geom_encoder.hpp>

Public Attributes

std::string theme
 
bool has_values = false
 
std::vector< std::uint32_t > solids
 
std::vector< std::uint32_t > shells
 
std::vector< std::uint32_t > surfaces
 
std::vector< std::uint32_t > strings
 
std::vector< std::uint32_t > vertices
 

Detailed Description

One theme's texture mapping.

has_values distinguishes a theme with no values member at all (schema-valid; the per-theme texture object has no required) from one whose values array is present. Mirrors TextureMapping (writer/geom_encoder.rs).

Definition at line 113 of file geom_encoder.hpp.

Member Data Documentation

◆ has_values

bool fcb::TextureMapping::has_values = false

Definition at line 115 of file geom_encoder.hpp.

Referenced by fcb::encode_texture().

◆ shells

std::vector<std::uint32_t> fcb::TextureMapping::shells

Definition at line 116 of file geom_encoder.hpp.

Referenced by fcb::encode_texture().

◆ solids

std::vector<std::uint32_t> fcb::TextureMapping::solids

Definition at line 116 of file geom_encoder.hpp.

Referenced by fcb::encode_texture().

◆ strings

std::vector<std::uint32_t> fcb::TextureMapping::strings

Definition at line 116 of file geom_encoder.hpp.

◆ surfaces

std::vector<std::uint32_t> fcb::TextureMapping::surfaces

Definition at line 116 of file geom_encoder.hpp.

◆ theme

std::string fcb::TextureMapping::theme

Definition at line 114 of file geom_encoder.hpp.

Referenced by fcb::encode_texture().

◆ vertices

std::vector<std::uint32_t> fcb::TextureMapping::vertices

Definition at line 116 of file geom_encoder.hpp.


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