babylon.blackAndWhitePostProcess.js 788 B

12345678910111213141516
  1. var __extends = (this && this.__extends) || function (d, b) {
  2. for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
  3. function __() { this.constructor = d; }
  4. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  5. };
  6. var BABYLON;
  7. (function (BABYLON) {
  8. var BlackAndWhitePostProcess = (function (_super) {
  9. __extends(BlackAndWhitePostProcess, _super);
  10. function BlackAndWhitePostProcess(name, ratio, camera, samplingMode, engine, reusable) {
  11. _super.call(this, name, "blackAndWhite", null, null, ratio, camera, samplingMode, engine, reusable);
  12. }
  13. return BlackAndWhitePostProcess;
  14. })(BABYLON.PostProcess);
  15. BABYLON.BlackAndWhitePostProcess = BlackAndWhitePostProcess;
  16. })(BABYLON || (BABYLON = {}));