@@ -269,8 +269,8 @@ module.exports = {
269
269
relativePath : './geometries/PlainBufferGeometry' ,
270
270
superClass : 'BufferGeometry' ,
271
271
properties : {
272
- attributes : new Types . ThreeTypeDict ( 'BufferAttribute' ) ,
273
- morphAttributes : new Types . ThreeTypeDict ( 'BufferAttribute' ) ,
272
+ attributes : new Types . ThreeTypeDict ( [ 'BufferAttribute' , 'InterleavedBufferAttribute' ] ) ,
273
+ morphAttributes : new Types . ThreeTypeDict ( [ 'BufferAttribute' , 'InterleavedBufferAttribute' ] ) ,
274
274
MaxIndex : new Types . Int ( 65535 ) ,
275
275
//groups: new Types.GeometryGroup(),
276
276
//drawRange: new Types.DrawRange(),
@@ -279,18 +279,49 @@ module.exports = {
279
279
} ,
280
280
InstancedBufferAttribute : {
281
281
relativePath : './core/InstancedBufferAttribute' ,
282
+ superClass : 'BufferAttribute' ,
283
+ properties : {
284
+ meshPerAttribute : new Types . Int ( 1 ) ,
285
+ } ,
286
+ constructorArgs : [ 'array' , 'meshPerAttribute' ] ,
282
287
} ,
283
288
InstancedBufferGeometry : {
284
289
relativePath : './core/InstancedBufferGeometry' ,
290
+ superClass : 'PlainBufferGeometry' ,
291
+ properties : {
292
+ maxInstancedCount : new Types . Int ( null , true ) ,
293
+ } ,
285
294
} ,
286
295
InstancedInterleavedBuffer : {
287
296
relativePath : './core/InstancedInterleavedBuffer' ,
297
+ superClass : 'InterleavedBuffer' ,
298
+ properties : {
299
+ meshPerAttribute : new Types . Int ( 1 ) ,
300
+ } ,
301
+ constructorArgs : [ 'array' , 'meshPerAttribute' ] ,
288
302
} ,
289
303
InterleavedBuffer : {
290
304
relativePath : './core/InterleavedBuffer' ,
305
+ properties : {
306
+ array : new Types . ArrayBuffer ( ) ,
307
+ stride : new Types . Int ( null ) ,
308
+ dynamic : new Types . Bool ( false ) ,
309
+ // updateRange: new Types.UpdateRange(),
310
+ version : new Types . Int ( 0 ) ,
311
+ needsUpdate : new Types . Bool ( false ) ,
312
+ } ,
313
+ propsDefinedByThree : [ 'version' ] ,
314
+ constructorArgs : [ 'array' , 'stride' ] ,
291
315
} ,
292
316
InterleavedBufferAttribute : {
293
317
relativePath : './core/InterleavedBufferAttribute' ,
318
+ properties : {
319
+ data : new Types . ThreeType ( 'InterleavedBuffer' ) ,
320
+ itemSize : new Types . Int ( 0 ) ,
321
+ offset : new Types . Int ( 0 ) ,
322
+ normalized : new Types . Bool ( true ) ,
323
+ } ,
324
+ constructorArgs : [ 'data' , 'itemSize' , 'offset' , 'normalized' ]
294
325
} ,
295
326
Layers : {
296
327
relativePath : './core/Layers' ,
0 commit comments