dataBuffer.d.ts 665 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * Class used to store gfx data (like WebGLBuffer)
  3. */
  4. export declare class DataBuffer {
  5. private static _Counter;
  6. /**
  7. * Gets or sets the number of objects referencing this buffer
  8. */
  9. references: number;
  10. /** Gets or sets the size of the underlying buffer */
  11. capacity: number;
  12. /**
  13. * Gets or sets a boolean indicating if the buffer contains 32bits indices
  14. */
  15. is32Bits: boolean;
  16. /**
  17. * Gets the underlying buffer
  18. */
  19. get underlyingResource(): any;
  20. /**
  21. * Gets the unique id of this buffer
  22. */
  23. readonly uniqueId: number;
  24. /**
  25. * Constructs the buffer
  26. */
  27. constructor();
  28. }