WebGLBuffer object

Represents a buffer object that contains numeric data such as vertices or colors.

IE11

Syntax


<body>
  <canvas id="canvas"></canvas>
  ...
<script>
  var gl = document.getElementById("canvas").getContext("experimental-webgl");
  ...
var texCoordBuffer = gl.createBuffer();

DOM Information

Inheritance Hierarchy

 WebGLObject
   WebGLBuffer

Members

The WebGLBuffer object does not define any members.

 

 

Show:
© 2014 Microsoft