textmode.js / TextmodeFramebuffer / resize
Method: resize()
ts
resize(width, height): void;Resize the framebuffer and all attached textures.
Existing pixel cache entries are cleared, and the optional depth renderbuffer is resized to match the new dimensions.
Parameters
| Parameter | Type | Description |
|---|---|---|
width | number | New framebuffer width in grid cells. |
height | number | New framebuffer height in grid cells. |
Returns
void