BufferGeometryUtils.d.ts 807 B

1234567891011
  1. import { BufferAttribute, BufferGeometry, InterleavedBufferAttribute, TrianglesDrawModes } from '../../../src/Three';
  2. export namespace BufferGeometryUtils {
  3. export function mergeBufferGeometries( geometries: BufferGeometry[], useGroups?: boolean ): BufferGeometry;
  4. export function computeTangents( geometry: BufferGeometry ): null;
  5. export function mergeBufferAttributes( attributes: BufferAttribute[] ): BufferAttribute;
  6. export function interleaveAttributes( attributes: BufferAttribute[] ): InterleavedBufferAttribute;
  7. export function estimateBytesUsed( geometry: BufferGeometry ): number;
  8. export function mergeVertices( geometry: BufferGeometry, tolerance?: number ): BufferGeometry;
  9. export function toTrianglesDrawMode( geometry: BufferGeometry, drawMode: TrianglesDrawModes ): BufferGeometry;
  10. }