babylon.vertexBuffer.d.ts 543 B

123456789101112131415161718192021
  1. /// <reference path="../babylon.d.ts" />
  2. declare module BABYLON {
  3. class VertexBuffer {
  4. constructor(mesh: Mesh, data: any[], kind: string, updatable: boolean);
  5. isUpdatable(): boolean;
  6. getData(): any[];
  7. getStrideSize(): number;
  8. update(data: any[]): void;
  9. dispose(): void;
  10. PositionKind: string;
  11. NormalKind: string;
  12. UVKind: string;
  13. UV2Kind: string;
  14. ColorKind: string;
  15. MatricesIndicesKind: string;
  16. MatricesWeightsKind: string;
  17. }
  18. }