cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltf::Material::AlphaMode Struct Reference

Known values for The alpha rendering mode of the material. More...

#include <CesiumGltf/Material.h>

Static Public Attributes

static const std::string OPAQUE = "OPAQUE"
 The alpha value is ignored, and the rendered output is fully opaque.
 
static const std::string MASK = "MASK"
 The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alphaCutoff value; the exact appearance of the edges MAY be subject to implementation-specific techniques such as "`Alpha-to-Coverage`".
 
static const std::string BLEND = "BLEND"
 The alpha value is used to composite the source and destination areas. The rendered output is combined with the background using the normal painting operation (i.e. the Porter and Duff over operator).
 

Detailed Description

Known values for The alpha rendering mode of the material.

Definition at line 29 of file Material.h.

Member Data Documentation

◆ BLEND

const std::string CesiumGltf::Material::AlphaMode::BLEND = "BLEND"
inlinestatic

The alpha value is used to composite the source and destination areas. The rendered output is combined with the background using the normal painting operation (i.e. the Porter and Duff over operator).

Definition at line 43 of file Material.h.

◆ MASK

const std::string CesiumGltf::Material::AlphaMode::MASK = "MASK"
inlinestatic

The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alphaCutoff value; the exact appearance of the edges MAY be subject to implementation-specific techniques such as "`Alpha-to-Coverage`".

Definition at line 38 of file Material.h.

◆ OPAQUE

const std::string CesiumGltf::Material::AlphaMode::OPAQUE = "OPAQUE"
inlinestatic

The alpha value is ignored, and the rendered output is fully opaque.

Definition at line 32 of file Material.h.


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