@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
34 lines (30 loc) • 653 B
JavaScript
/**
* The alpha rendering mode of the material.
*
* @enum {string}
* @private
*/
const AlphaMode = {
/**
* The alpha value is ignored and the rendered output is fully opaque.
*
* @type {string}
* @constant
*/
OPAQUE: "OPAQUE",
/**
* The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.
*
* @type {string}
* @constant
*/
MASK: "MASK",
/**
* The rendered output is composited onto the destination with alpha blending.
*
* @type {string}
* @constant
*/
BLEND: "BLEND",
};
export default Object.freeze(AlphaMode);