File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
examples/jsm/renderers/webgpu Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,13 @@ class WebGPURenderLists {
162
162
get ( scene , camera ) {
163
163
164
164
const lists = this . lists ;
165
- const properties = this . properties ;
166
165
167
166
const cameras = lists . get ( scene ) ;
168
167
let list ;
169
168
170
169
if ( cameras === undefined ) {
171
170
172
- list = new WebGPURenderList ( properties ) ;
171
+ list = new WebGPURenderList ( ) ;
173
172
lists . set ( scene , new WeakMap ( ) ) ;
174
173
lists . get ( scene ) . set ( camera , list ) ;
175
174
@@ -178,7 +177,7 @@ class WebGPURenderLists {
178
177
list = cameras . get ( camera ) ;
179
178
if ( list === undefined ) {
180
179
181
- list = new WebGPURenderList ( properties ) ;
180
+ list = new WebGPURenderList ( ) ;
182
181
cameras . set ( camera , list ) ;
183
182
184
183
}
Original file line number Diff line number Diff line change 1
- import { GPUPrimitiveTopology , GPUIndexFormat } from './constants.js' ;
1
+ import { GPUIndexFormat } from './constants.js' ;
2
2
import WebGPUObjects from './WebGPUObjects.js' ;
3
3
import WebGPUAttributes from './WebGPUAttributes.js' ;
4
4
import WebGPUGeometries from './WebGPUGeometries.js' ;
@@ -59,9 +59,9 @@ class WebGPURenderer {
59
59
60
60
}
61
61
62
- init ( parameters ) {
62
+ init ( ) {
63
63
64
- return initWebGPU ( this , parameters ) ;
64
+ return initWebGPU ( this ) ;
65
65
66
66
}
67
67
You can’t perform that action at this time.
0 commit comments