cesium-native 0.61.0
Loading...
Searching...
No Matches
CesiumGltf::ExtensionExtMeshPrimitiveEdgeVisibility::Visibility Struct Reference

Known values for the visibility specified for a single edge. More...

#include <CesiumGltf/ExtensionExtMeshPrimitiveEdgeVisibility.h>

Static Public Attributes

static constexpr uint8_t HIDDEN = 0
 Hidden edge - the edge should never be drawn.
 
static constexpr uint8_t SILHOUETTE = 1
 Silhouette edge - the edge should be drawn only in silhouette (i.e., when separating a front-facing triangle from a back-facing triangle)
 
static constexpr uint8_t HARD_EDGE = 2
 Hard edge - the edge should always be drawn.
 
static constexpr uint8_t REPEATED_HARD_EDGE = 3
 Repeated hard edge - the edge should always be drawn, and its visibility is already encoded as HARD_EDGE for an adjoining triangle.
 

Detailed Description

Known values for the visibility specified for a single edge.

Definition at line 13 of file ExtensionExtMeshPrimitiveEdgeVisibility.h.

Member Data Documentation

◆ HARD_EDGE

uint8_t CesiumGltf::ExtensionExtMeshPrimitiveEdgeVisibility::Visibility::HARD_EDGE = 2
staticconstexpr

Hard edge - the edge should always be drawn.

Definition at line 23 of file ExtensionExtMeshPrimitiveEdgeVisibility.h.

◆ HIDDEN

uint8_t CesiumGltf::ExtensionExtMeshPrimitiveEdgeVisibility::Visibility::HIDDEN = 0
staticconstexpr

Hidden edge - the edge should never be drawn.

Definition at line 15 of file ExtensionExtMeshPrimitiveEdgeVisibility.h.

◆ REPEATED_HARD_EDGE

uint8_t CesiumGltf::ExtensionExtMeshPrimitiveEdgeVisibility::Visibility::REPEATED_HARD_EDGE = 3
staticconstexpr

Repeated hard edge - the edge should always be drawn, and its visibility is already encoded as HARD_EDGE for an adjoining triangle.

Definition at line 27 of file ExtensionExtMeshPrimitiveEdgeVisibility.h.

◆ SILHOUETTE

uint8_t CesiumGltf::ExtensionExtMeshPrimitiveEdgeVisibility::Visibility::SILHOUETTE = 1
staticconstexpr

Silhouette edge - the edge should be drawn only in silhouette (i.e., when separating a front-facing triangle from a back-facing triangle)

Definition at line 20 of file ExtensionExtMeshPrimitiveEdgeVisibility.h.


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