Skip to content

charton API


charton API / @chart-on/core / index / GpuMemory

Interface: GpuMemory ​

Defined in: packages/core/src/render-stats.ts:2

GPU memory the chart's series hold, in bytes. Shared programs and the unit quad are not counted.

Properties ​

buffers ​

buffers: number

Defined in: packages/core/src/render-stats.ts:4

Instance buffers of candle, column, histogram and profile batches, at their allocated capacity.


textures ​

textures: number

Defined in: packages/core/src/render-stats.ts:6

Heatmap value textures at their allocated capacity, plus their colour ramps.


total ​

total: number

Defined in: packages/core/src/render-stats.ts:8

buffers + textures.