(gl, props)
| 81248 | (0, _inheritsDefault.default)(ShadowPass1, _LayersPass); |
| 81249 | var _super = _createSuper(ShadowPass1); |
| 81250 | function ShadowPass1(gl, props) { |
| 81251 | var _parameters, _attachments; |
| 81252 | var _this; |
| 81253 | (0, _classCallCheckDefault.default)(this, ShadowPass1); |
| 81254 | _this = _super.call(this, gl, props); |
| 81255 | _this.shadowMap = new (0, _core.Texture2D)(gl, { |
| 81256 | width: 1, |
| 81257 | height: 1, |
| 81258 | parameters: (_parameters = {}, (0, _definePropertyDefault.default)(_parameters, 10241, 9729), (0, _definePropertyDefault.default)(_parameters, 10240, 9729), (0, _definePropertyDefault.default)(_parameters, 10242, 33071), (0, _definePropertyDefault.default)(_parameters, 10243, 33071), _parameters) |
| 81259 | }); |
| 81260 | _this.depthBuffer = new (0, _core.Renderbuffer)(gl, { |
| 81261 | format: 33189, |
| 81262 | width: 1, |
| 81263 | height: 1 |
| 81264 | }); |
| 81265 | _this.fbo = new (0, _core.Framebuffer)(gl, { |
| 81266 | id: "shadowmap", |
| 81267 | width: 1, |
| 81268 | height: 1, |
| 81269 | attachments: (_attachments = {}, (0, _definePropertyDefault.default)(_attachments, 36064, _this.shadowMap), (0, _definePropertyDefault.default)(_attachments, 36096, _this.depthBuffer), _attachments) |
| 81270 | }); |
| 81271 | return _this; |
| 81272 | } |
| 81273 | (0, _createClassDefault.default)(ShadowPass1, [ |
| 81274 | { |
| 81275 | key: "render", |
nothing calls this directly
no outgoing calls
no test coverage detected