(options)
| 76 | } |
| 77 | |
| 78 | function makeLayer (options) |
| 79 | { |
| 80 | options = options || {}; |
| 81 | var layer = { |
| 82 | list: options.list || [], |
| 83 | alpha: options.alpha !== undefined ? options.alpha : 1, |
| 84 | blendMode: options.blendMode !== undefined ? options.blendMode : SKIP_CHECK, |
| 85 | depthSortCalled: false, |
| 86 | depthSort: function () |
| 87 | { |
| 88 | this.depthSortCalled = true; |
| 89 | } |
| 90 | }; |
| 91 | return layer; |
| 92 | } |
| 93 | |
| 94 | describe('LayerWebGLRenderer', function () |
| 95 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…