@antv/g-webgl
A renderer implemented by WebGL1
Last updated 4 years ago by zhanba .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @antv/g-webgl 
SYNC missed versions from official npm registry.

@antv/g-webgl

This is a renderer implemented with WebGL2/1.

import { Renderer as WebGLRenderer } from '@antv/g-webgl';

const webglRenderer = new WebGLRenderer();

// create a canvas
const canvas = new Canvas({
  container: 'container',
  width: 600,
  height: 500,
  renderer: webglRenderer,
});

Options

targets

We can pass in a specific target(s), which will get downgraded automatically.

new Renderer({
  targets: ['webgl2', 'webgl1'],
});

onContextLost

https://www.khronos.org/webgl/wiki/HandlingContextLost

new Renderer({
  onContextLost: () => {},
});

Current Tags

  • 1.8.0-alpha.1                                ...           alpha (a year ago)
  • 1.8.0-beta.1                                ...           beta (a year ago)
  • 2.0.10                                ...           latest (7 months ago)
  • 1.9.37-next.20                                ...           next (9 months ago)

258 Versions

  • 2.0.10                                ...           7 months ago
  • 2.0.9                                ...           7 months ago
  • 2.0.8                                ...           7 months ago
  • 2.0.7                                ...           7 months ago
  • 2.0.6                                ...           8 months ago
  • 2.0.5                                ...           8 months ago
  • 2.0.4                                ...           8 months ago
  • 2.0.3                                ...           8 months ago
  • 2.0.2                                ...           8 months ago
  • 2.0.1                                ...           9 months ago
  • 2.0.0                                ...           9 months ago
  • 1.9.39                                ...           9 months ago
  • 1.9.38                                ...           9 months ago
  • 1.9.37-next.20                                ...           9 months ago
  • 1.9.37-next.19                                ...           9 months ago
  • 1.9.37-next.18                                ...           9 months ago
  • 1.9.37-next.17                                ...           9 months ago
  • 1.9.37-next.16                                ...           10 months ago
  • 1.9.37-next.15                                ...           10 months ago
  • 1.9.37-next.14                                ...           10 months ago
  • 1.9.37                                ...           10 months ago
  • 1.9.37-next.13                                ...           10 months ago
  • 1.9.37-next.12                                ...           10 months ago
  • 1.9.37-next.11                                ...           10 months ago
  • 1.9.37-next.10                                ...           a year ago
  • 1.9.37-next.9                                ...           a year ago
  • 1.9.37-next.8                                ...           a year ago
  • 1.9.37-next.7                                ...           a year ago
  • 1.9.37-next.6                                ...           a year ago
  • 1.9.37-next.4                                ...           a year ago
  • 1.9.37-next.3                                ...           a year ago
  • 1.9.37-next.2                                ...           a year ago
  • 1.9.37-next.1                                ...           a year ago
  • 1.9.37-next.0                                ...           a year ago
  • 1.9.36                                ...           a year ago
  • 1.9.35                                ...           a year ago
  • 1.9.34                                ...           a year ago
  • 1.9.33                                ...           a year ago
  • 1.9.32                                ...           a year ago
  • 1.9.31                                ...           a year ago
  • 1.9.30                                ...           a year ago
  • 1.9.29                                ...           a year ago
  • 1.9.28                                ...           a year ago
  • 1.9.27                                ...           a year ago
  • 1.9.26                                ...           a year ago
  • 1.9.25                                ...           a year ago
  • 1.9.24                                ...           a year ago
  • 1.9.23                                ...           a year ago
  • 1.9.22                                ...           a year ago
  • 1.9.21                                ...           a year ago
  • 1.9.20                                ...           a year ago
  • 1.9.19                                ...           a year ago
  • 1.9.18                                ...           a year ago
  • 1.9.17                                ...           a year ago
  • 1.9.16                                ...           a year ago
  • 1.9.15                                ...           a year ago
  • 1.9.14                                ...           a year ago
  • 1.9.13                                ...           a year ago
  • 1.9.11                                ...           a year ago
  • 1.9.10                                ...           a year ago
  • 1.9.9                                ...           a year ago
  • 1.9.8                                ...           a year ago
  • 1.9.7                                ...           a year ago
  • 1.9.6                                ...           a year ago
  • 1.9.5                                ...           a year ago
  • 1.9.4                                ...           a year ago
  • 1.9.3                                ...           a year ago
  • 1.9.2                                ...           a year ago
  • 1.9.1                                ...           a year ago
  • 1.9.0                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 1.8.0-beta.1                                ...           a year ago
  • 1.8.0-alpha.1                                ...           a year ago
  • 1.7.74                                ...           2 years ago
  • 1.7.73                                ...           2 years ago
  • 1.7.72                                ...           2 years ago
  • 1.7.71                                ...           2 years ago
  • 1.7.70                                ...           2 years ago
  • 1.7.69                                ...           2 years ago
  • 1.7.68                                ...           2 years ago
  • 1.7.67                                ...           2 years ago
  • 1.7.66                                ...           2 years ago
  • 1.7.65                                ...           2 years ago
  • 1.7.64                                ...           2 years ago
  • 1.7.63                                ...           2 years ago
  • 1.7.62                                ...           2 years ago
  • 1.7.61                                ...           2 years ago
  • 1.7.60                                ...           2 years ago
  • 1.7.59                                ...           2 years ago
  • 1.7.58                                ...           2 years ago
  • 1.7.57                                ...           2 years ago
  • 1.7.56                                ...           2 years ago
  • 1.7.55                                ...           2 years ago
  • 1.7.54                                ...           2 years ago
  • 1.7.53                                ...           2 years ago
  • 1.7.52                                ...           2 years ago
  • 1.7.51                                ...           2 years ago
  • 1.7.50                                ...           2 years ago
  • 1.7.49                                ...           2 years ago
  • 1.7.48                                ...           2 years ago
  • 1.7.47                                ...           2 years ago
  • 1.7.46                                ...           2 years ago
  • 1.7.45                                ...           2 years ago
  • 1.7.44                                ...           2 years ago
  • 1.7.43                                ...           2 years ago
  • 1.7.42                                ...           2 years ago
  • 1.7.41                                ...           2 years ago
  • 1.7.40                                ...           2 years ago
  • 1.7.40-alpha.0                                ...           2 years ago
  • 1.7.39                                ...           2 years ago
  • 1.7.38                                ...           2 years ago
  • 1.7.37                                ...           2 years ago
  • 1.7.36                                ...           2 years ago
  • 1.7.35                                ...           2 years ago
  • 1.7.34                                ...           2 years ago
  • 1.7.33                                ...           2 years ago
  • 1.7.32                                ...           2 years ago
  • 1.7.31                                ...           2 years ago
  • 1.7.30                                ...           2 years ago
  • 1.7.29                                ...           2 years ago
  • 1.7.28                                ...           2 years ago
  • 1.7.27                                ...           2 years ago
  • 1.7.26                                ...           2 years ago
  • 1.7.25                                ...           2 years ago
  • 1.7.24                                ...           2 years ago
  • 1.7.23                                ...           2 years ago
  • 1.7.22                                ...           2 years ago
  • 1.7.21                                ...           2 years ago
  • 1.7.20                                ...           2 years ago
  • 1.7.19                                ...           2 years ago
  • 1.7.18                                ...           2 years ago
  • 1.7.17                                ...           2 years ago
  • 1.7.16                                ...           2 years ago
  • 1.7.15                                ...           2 years ago
  • 1.7.14                                ...           2 years ago
  • 1.7.13                                ...           2 years ago
  • 1.7.12                                ...           2 years ago
  • 1.7.11                                ...           2 years ago
  • 1.7.10                                ...           2 years ago
  • 1.7.9                                ...           2 years ago
  • 1.7.8                                ...           2 years ago
  • 1.7.7                                ...           2 years ago
  • 1.7.5                                ...           2 years ago
  • 1.7.4                                ...           2 years ago
  • 1.7.3                                ...           2 years ago
  • 1.7.2                                ...           2 years ago
  • 1.7.1                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.4                                ...           2 years ago
  • 1.6.3                                ...           2 years ago
  • 1.6.2                                ...           2 years ago
  • 1.6.1                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.6.0-alpha.0                                ...           2 years ago
  • 1.5.3                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.8                                ...           3 years ago
  • 1.1.8-alpha.1                                ...           3 years ago
  • 1.1.8-alpha.0                                ...           3 years ago
  • 1.1.7                                ...           3 years ago
  • 1.1.6                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.3-alpha.1                                ...           3 years ago
  • 1.1.3-alpha.0                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.27                                ...           3 years ago
  • 1.0.26                                ...           3 years ago
  • 1.0.26-alpha.16                                ...           3 years ago
  • 1.0.26-alpha.15                                ...           3 years ago
  • 1.0.26-alpha.14                                ...           3 years ago
  • 1.0.26-alpha.13                                ...           3 years ago
  • 1.0.26-alpha.12                                ...           3 years ago
  • 1.0.26-alpha.11                                ...           3 years ago
  • 1.0.26-alpha.10                                ...           3 years ago
  • 1.0.26-alpha.9                                ...           3 years ago
  • 1.0.26-alpha.8                                ...           3 years ago
  • 1.0.26-alpha.7                                ...           3 years ago
  • 1.0.26-alpha.6                                ...           3 years ago
  • 1.0.26-alpha.4                                ...           3 years ago
  • 1.0.26-alpha.2                                ...           3 years ago
  • 1.0.26-alpha.0                                ...           3 years ago
  • 1.0.25                                ...           3 years ago
  • 1.0.25-alpha.2                                ...           3 years ago
  • 1.0.25-alpha.1                                ...           3 years ago
  • 1.0.25-alpha.0                                ...           3 years ago
  • 1.0.24                                ...           3 years ago
  • 1.0.22                                ...           3 years ago
  • 1.0.21                                ...           3 years ago
  • 1.0.20                                ...           3 years ago
  • 1.0.19                                ...           3 years ago
  • 1.0.18                                ...           3 years ago
  • 1.0.17                                ...           3 years ago
  • 1.0.16                                ...           3 years ago
  • 1.0.15                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0-alpha.38                                ...           3 years ago
  • 1.0.0-alpha.37                                ...           3 years ago
  • 1.0.0-alpha.36                                ...           3 years ago
  • 1.0.0-alpha.35                                ...           3 years ago
  • 1.0.0-alpha.34                                ...           3 years ago
  • 1.0.0-alpha.33                                ...           3 years ago
  • 1.0.0-alpha.32                                ...           3 years ago
  • 1.0.0-alpha.30                                ...           3 years ago
  • 1.0.0-alpha.29                                ...           3 years ago
  • 1.0.0-alpha.28                                ...           3 years ago
  • 1.0.0-alpha.27                                ...           3 years ago
  • 1.0.0-alpha.26                                ...           3 years ago
  • 1.0.0-alpha.25                                ...           3 years ago
  • 1.0.0-alpha.24                                ...           3 years ago
  • 1.0.0-alpha.23                                ...           3 years ago
  • 1.0.0-alpha.22                                ...           3 years ago
  • 1.0.0-alpha.21                                ...           3 years ago
  • 1.0.0-alpha.20                                ...           3 years ago
  • 1.0.0-alpha.19                                ...           3 years ago
  • 1.0.0-alpha.18                                ...           3 years ago
  • 1.0.0-alpha.17                                ...           3 years ago
  • 1.0.0-alpha.16                                ...           3 years ago
  • 1.0.0-alpha.15                                ...           3 years ago
  • 1.0.0-alpha.14                                ...           3 years ago
  • 1.0.0-alpha.13                                ...           3 years ago
  • 1.0.0-alpha.12                                ...           3 years ago
  • 1.0.0-alpha.11                                ...           3 years ago
  • 1.0.0-alpha.10                                ...           3 years ago
  • 1.0.0-alpha.9                                ...           3 years ago
  • 1.0.0-alpha.8                                ...           3 years ago
  • 1.0.0-alpha.6                                ...           3 years ago
  • 1.0.0-alpha.5                                ...           3 years ago
  • 1.0.0-alpha.4                                ...           3 years ago
  • 1.0.0-alpha.3                                ...           3 years ago
  • 1.0.0-alpha.2                                ...           3 years ago
  • 1.0.0-alpha.1                                ...           4 years ago
  • 1.0.0-alpha.0                                ...           4 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE