1 |
- {"ast":null,"code":"/**\n * Class used to store gfx data (like WebGLBuffer)\n */\nexport class DataBuffer {\n /**\n * Gets the underlying buffer\n */\n get underlyingResource() {\n return null;\n }\n /**\n * Constructs the buffer\n */\n constructor() {\n /**\n * Gets or sets the number of objects referencing this buffer\n */\n this.references = 0;\n /** Gets or sets the size of the underlying buffer */\n this.capacity = 0;\n /**\n * Gets or sets a boolean indicating if the buffer contains 32bits indices\n */\n this.is32Bits = false;\n this.uniqueId = DataBuffer._Counter++;\n }\n}\nDataBuffer._Counter = 0;","map":{"version":3,"names":["DataBuffer","underlyingResource","constructor","references","capacity","is32Bits","uniqueId","_Counter"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Buffers/dataBuffer.js"],"sourcesContent":["/**\n * Class used to store gfx data (like WebGLBuffer)\n */\nexport class DataBuffer {\n /**\n * Gets the underlying buffer\n */\n get underlyingResource() {\n return null;\n }\n /**\n * Constructs the buffer\n */\n constructor() {\n /**\n * Gets or sets the number of objects referencing this buffer\n */\n this.references = 0;\n /** Gets or sets the size of the underlying buffer */\n this.capacity = 0;\n /**\n * Gets or sets a boolean indicating if the buffer contains 32bits indices\n */\n this.is32Bits = false;\n this.uniqueId = DataBuffer._Counter++;\n }\n}\nDataBuffer._Counter = 0;\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAO,MAAMA,UAAU,CAAC;EACpB;AACJ;AACA;EACI,IAAIC,kBAAkBA,CAAA,EAAG;IACrB,OAAO,IAAI;EACf;EACA;AACJ;AACA;EACIC,WAAWA,CAAA,EAAG;IACV;AACR;AACA;IACQ,IAAI,CAACC,UAAU,GAAG,CAAC;IACnB;IACA,IAAI,CAACC,QAAQ,GAAG,CAAC;IACjB;AACR;AACA;IACQ,IAAI,CAACC,QAAQ,GAAG,KAAK;IACrB,IAAI,CAACC,QAAQ,GAAGN,UAAU,CAACO,QAAQ,EAAE;EACzC;AACJ;AACAP,UAAU,CAACO,QAAQ,GAAG,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|