WebGLRenderingContext: createFramebuffer() method - Web APIs | MDN
Syntax
Parameters
None.
Return value
A WebGLFramebuffer object.
Examples
Creating a frame buffer
js
const canvas = document.getElementById("canvas");
const gl = canvas.getContext("webgl");
const framebuffer = gl.createFramebuffer();
Specifications
| Specification |
|---|
| WebGL Specification # 5.14.6 |