babylon.vertexBuffer.d.ts 592 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. static PositionKind: string;
  11. static NormalKind: string;
  12. static UVKind: string;
  13. static UV2Kind: string;
  14. static ColorKind: string;
  15. static MatricesIndicesKind: string;
  16. static MatricesWeightsKind: string;
  17. }
  18. }