Members
Allow renderTextures of the same size as screen, not just pow2
Automatically sets to true after setScreenSize
- Default Value:
- false
Methods
Gets a Power-of-Two render texture or fullScreen texture
| Name | Type | Default | Description |
|---|---|---|---|
minWidth |
number |
The minimum width of the render texture. |
|
minHeight |
number |
The minimum height of the render texture. |
|
resolution |
number | 1 |
The resolution of the render texture. |
Returns:
| Type | Description |
|---|---|
| CanvasAndContext | The new render texture. |
Place a render texture back into the pool.
| Name | Type | Description |
|---|---|---|
canvasAndContext |
CanvasAndContext |