|
@@ -1,9 +1,16 @@
|
|
|
+import { WebGLAttributes } from './WebGLAttributes';
|
|
|
+import { WebGLInfo } from './WebGLInfo';
|
|
|
+import { BufferAttribute } from '../../core/BufferAttribute';
|
|
|
+import { BufferGeometry } from '../../core/BufferGeometry';
|
|
|
+import { Geometry } from '../../core/Geometry';
|
|
|
+import { Object3D } from '../../core/Object3D';
|
|
|
+
|
|
|
export class WebGLGeometries {
|
|
|
|
|
|
- constructor( gl: WebGLRenderingContext, attributes: any, info: any );
|
|
|
+ constructor( gl: WebGLRenderingContext, attributes: WebGLAttributes, info: WebGLInfo );
|
|
|
|
|
|
- get( object: any, geometry: any ): any;
|
|
|
- update( geometry: any ): any;
|
|
|
- getWireframeAttribute( geometry: any ): any;
|
|
|
+ get( object: Object3D, geometry: Geometry | BufferGeometry ): BufferGeometry;
|
|
|
+ update( geometry: Geometry | BufferGeometry ): void;
|
|
|
+ getWireframeAttribute( geometry: Geometry | BufferGeometry ): BufferAttribute;
|
|
|
|
|
|
}
|