WebGLRenderbuffer object

Represents a buffer which can contain an image and act as the source or target of a render operation.

IE11

 

Syntax


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

DOM Information

Inheritance Hierarchy

 WebGLObject
   WebGLRenderbuffer

Members

The WebGLRenderbuffer object does not define any members.

Remarks

A renderbuffer stores data that represents a single image. A renderbuffer object can be attached to a framebuffer object and used to store either stencil data or a combination of stencil and depth data.

 

 

Show:
© 2014 Microsoft