cesium-native 0.61.0
Loading...
Searching...
No Matches
ExtensionExtMeshPrimitiveEdgeVisibility.h
1#pragma once
2
3#include <CesiumGltf/ExtensionExtMeshPrimitiveEdgeVisibilitySpec.h>
4
5namespace CesiumGltf {
6
8struct CESIUMGLTF_API ExtensionExtMeshPrimitiveEdgeVisibility final
13 struct Visibility {
15 static constexpr uint8_t HIDDEN = 0;
16
20 static constexpr uint8_t SILHOUETTE = 1;
21
23 static constexpr uint8_t HARD_EDGE = 2;
24
27 static constexpr uint8_t REPEATED_HARD_EDGE = 3;
28 };
29
30 ExtensionExtMeshPrimitiveEdgeVisibility() = default;
31};
32
33} // namespace CesiumGltf
Classes for working with glTF models.
ExtensionExtMeshPrimitiveEdgeVisibilitySpec()=default
This class is not meant to be instantiated directly. Use ExtensionExtMeshPrimitiveEdgeVisibility inst...
static constexpr uint8_t HARD_EDGE
Hard edge - the edge should always be drawn.
static constexpr uint8_t SILHOUETTE
Silhouette edge - the edge should be drawn only in silhouette (i.e., when separating a front-facing t...
static constexpr uint8_t HIDDEN
Hidden edge - the edge should never be drawn.
static constexpr uint8_t REPEATED_HARD_EDGE
Repeated hard edge - the edge should always be drawn, and its visibility is already encoded as HARD_E...