ModelAlphaOptions.js 471 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Options for configuring the {@link AlphaPipelineStage}
  3. *
  4. * @alias ModelAlphaOptions
  5. * @constructor
  6. *
  7. * @private
  8. */
  9. function ModelAlphaOptions() {
  10. /**
  11. * Which render pass will render the model.
  12. *
  13. * @type {Pass}
  14. * @private
  15. */
  16. this.pass = undefined;
  17. /**
  18. * Determines the alpha threshold below which fragments are discarded
  19. *
  20. * @type {number}
  21. * @private
  22. */
  23. this.alphaCutoff = undefined;
  24. }
  25. export default ModelAlphaOptions;