Creates a WebGL Framebuffer object and optionally binds a depth stencil render buffer.
name | type | arguments | Default | description |
---|---|---|---|---|
width | number |
If |
||
height | number |
If |
||
renderTexture | WebGLTexture |
The color texture where the color pixels are written. |
||
addDepthStencilBuffer | boolean | <optional> | false |
Create a Renderbuffer for the depth stencil? |
Raw WebGLFramebuffer