Skip to content

Commit

Permalink
Fix default values for width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
kekkorider committed Oct 5, 2023
1 parent 34d9331 commit 48749bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/guide/abstractions/fbo.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ onMounted(async () => {

## Props

| Prop | Description | Default |
| :------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| **`width`** | `number` - The width of the FBO. | `512` |
| **`height`** | `number` - the height of the FBO | `512` |
| **`depth`** | `boolean` - Whether or not the FBO should render the depth to a [`depthTexture`](https://threejs.org/docs/?q=webglre#api/en/renderers/WebGLRenderTarget.depthTexture). | `false` |
| **`settings`** | `WebGLRenderTargetOptions` - Every other configuration property for the [`WebGLRenderTarget` class](https://threejs.org/docs/#api/en/renderers/WebGLRenderTarget) | `{}` |
| Prop | Description | Default |
| :------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **`width`** | `number` - The width of the FBO. | Width of the canvas |
| **`height`** | `number` - the height of the FBO | Height of the canvas |
| **`depth`** | `boolean` - Whether or not the FBO should render the depth to a [`depthTexture`](https://threejs.org/docs/?q=webglre#api/en/renderers/WebGLRenderTarget.depthTexture). | `false` |
| **`settings`** | `WebGLRenderTargetOptions` - Every other configuration property for the [`WebGLRenderTarget` class](https://threejs.org/docs/#api/en/renderers/WebGLRenderTarget) | `{}` |

0 comments on commit 48749bd

Please sign in to comment.