cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
33 lines (32 loc) • 654 B
JavaScript
/**
* Options for configuring the {@link AlphaPipelineStage}
*
* @alias ModelAlphaOptions
* @constructor
*
* @private
*/
export default function ModelAlphaOptions() {
/**
* Which render pass will render the model.
*
* @type {Pass}
* @private
*/
this.pass = undefined;
/**
* Which method to use for handling the alpha channel in the fragment shader.
*
* @type {AlphaMode}
* @private
*/
this.alphaMode = undefined;
/**
* When the alpha mode is MASK, this determines the alpha threshold
* below which fragments are discarded
*
* @type {Number}
* @private
*/
this.alphaCutoff = undefined;
}