FrameBuffer
Defined in: createFrameBuffer.js:30
Render targets made by createFrameBuffer.
Properties
| Property | Type | Description |
|---|---|---|
delete | () => void | Frees the framebuffers, their textures and depth buffers. |
height | number | Height in pixels. |
read | RenderTarget | The target to read from. |
resize | (width, height) => void | Replaces the targets with empty ones of the new size. |
swap | () => void | Swaps read and write, after drawing into write. |
width | number | Width in pixels. |
write | RenderTarget | null | The target to draw into; null with singular. |