yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
 * 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;
}