meshopt_decoder.module.d.ts 724 B

123456789101112
  1. // This file is part of meshoptimizer library and is distributed under the terms of MIT License.
  2. // Copyright (C) 2016-2022, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
  3. export const MeshoptDecoder: {
  4. supported: boolean;
  5. ready: Promise<void>;
  6. decodeVertexBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string) => void;
  7. decodeIndexBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array) => void;
  8. decodeIndexSequence: (target: Uint8Array, count: number, size: number, source: Uint8Array) => void;
  9. decodeGltfBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string) => void;
  10. };